 |

|
I need to generate a PDF report which contains some images, costume text info, and a table from my ASP.net MVC3 application. please give me any ideas on the best way to implement this?
|
|
|
|

|
hi all ,
Tracing web application with ASP.NET[^]
Tracing Methods
•
On the Page
When this method is used, the trace output is displayed on the page that is executed.
•
Out of Page
In this method, the tracing results are not displayed on the page but these are stored on the web server and in the root folder of the application in a file named as “trace.axd”. After execution of the pages, this file can be viewed on the browser.
“trace.axd”.-----here what is the expansion of axd...
|
|
|
|

|
I have a problem with using grideview to display data
I don't want to use Default display in gridview.
For example
-------------------------
Image1 Title="###" |
Date="###" |
Price="###" |
-------------------------|
Please all friends help me to solve this in asp.net
Please kindly to email to me by polen.lang@gmail.com
|
|
|
|

|
Hi,
I want to ask what's the best way yo have a development environment and move it easily to the production?
Technology News @ www.JassimRahma.com
|
|
|
|

|
Hi,
I want to know how can I have a facebook-like alert to display (Email was sent) or (Record was saved) for a few seconds then disappear?
Technology News @ www.JassimRahma.com
|
|
|
|

|
We have back office application (developed using ASP.NET & SQL Server) and website for the same business (developed using PHP & My SQL).
Pl let me know how to link My SQL database with SQL Server.
Uma
|
|
|
|

|
Hello,
I do apologize if this is the incorrect forum to post.
I have a file which I need to post to a remote client server. I created a .p12 key file from the client web site. Using this .p12 ket file, password information I need to post a file to the server.
Using class, X509Certificate2 from namespace using System.Security.Cryptography.X509Certificates X509Certificate2.
I created a simple C# console application on my laptop using VS 2010, to define the parameters to the .p12 key file, and path to the csv file to post to remote server. I keep getting "Remote Server returned error - 401 UnAuthorized Error". Is there some sort of permission issue on .net end or the client side. The client keeps stating there is no communcation problem on their end.
I have been working on this code for some time now. any ideas is much, much appreciated.
|
|
|
|

|
We have tired of ton JS code in our applications, when errors could occurred in runtime (and specific browsers only).
So we decide to write something which allow to build rich client-side (single page as well) web applications on C# using our Incoding Meta Language.
It's simple - you define the tag behaviour on C# and then it parsed using our JS engine. Any js library could be plugged in, like we did for the Jquery UI (dialog, slider), Google Maps (show map, add/remove marker), BlockUI...
Even more, some our new developers even don't know the Javascript at all now
No trial, no donate. Just Open Source. We would like if someone would say "that's cool, i will try!" and give any feedback (critics are welcome).
I know some questions would be like "we need to learn this before start using, why do we need that if we already known js?".
- I would answer by asking another thing:
"What if your teammate (or another developer) leave some code for you and you need to understand what the hell this js construction is and first of all, where to find that event handler?"
With this approach, you just find the element on page and see what the behavior defined in C# well typed code.
You may kick me for the spam, but I just want to discuss:
1) If this type of approach could be alive or not?
2) What are your suggestions? Do you use something else to exclude such problems like we have had to write this?
P.S. We have all current projects using this. And there are server-side features as well.
|
|
|
|

|
How can i go about maintaining the state of an intranet application: Such that an authenticated user can process one or more sales in an instance?
On the otherhand is it possible to assign a Session object a value that is returned from a process after the Application had already started and running?
|
|
|
|

|
sir
i am an electrical engineer but interested in programming . i developed one v.net project for office and now wanna use send sms coding... the coding is as below but i am not getting message... please help... thanks in advance
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim SMSPort As SerialPort = New SerialPort
With SMSPort
.PortName = "COM7"
.BaudRate = 460800
.Parity = Parity.None
.DataBits = 8
.StopBits = StopBits.One
.Handshake = Handshake.RequestToSend
.DtrEnable = True
.RtsEnable = True
.NewLine = vbCrLf
End With
SMSPort.Open()
If SMSPort.IsOpen = True Then
SMSPort.WriteLine("AT" & vbCrLf)
'set command message format to text mode(1)
SMSPort.WriteLine("AT+CMGF=1" & vbCrLf)
'set service center address (which varies for service providers (idea, airtel))
SMSPort.WriteLine("AT+CSCA=""9848001104""" & vbCrLf)
' enter the mobile number whom you want to send the SMS
SMSPort.WriteLine("AT+CMGS= ""9494949494""" & vbCrLf)
SMSPort.WriteLine("aaaaat" & vbCrLf & Chr(26)) 'SMS sending
SMSPort.Close()
End If
End Sub
|
|
|
|

|
hi i am new to asp.net. So can anybody help me where to start with.thank you
|
|
|
|

|
I need to take the main parts of a C# 2008/2010 console application and turn it into a thin client for the web. The only things that need to be displayed on the screen is to enter the customer number and where to obtain a file in a directory path. The user will it the enter button and the application will pass the information to a web service.
Notes about the code that will be used: 1. the application uses linq to sql to point to a sql server 2008 r2 database.all parts of the exisitng code is placed together. there is no separation of data, presentation from business logic.
The simple application will not be part of any other web application.
Can you tell me the following:
1. How will the user start the application? Would it be a url on the web and/or a shortcut on their desktop? How would you setup the code for the user to click on a desktop short and/or point to a url?
2. When you start the code from scratch, what kind of a web application would I use? web forms since that is the easiest.
|
|
|
|

|
Hi experts,
I stuck on this error message. can any one give me a hint?
in my code behind(ASP.net C# web form programming), I try to evaluate a session variable, then execute some codes... debug pops this error message(see below) every time when it runs into the session evaluation line. What is proper setting in webconfig to fix this? can u give a complete sample. I tried as message suggested, it still pops.
if (Session["name"] == NULL)
//Do sth
error message
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration
Thank you in advance
dd
|
|
|
|

|
Is it possible to display a message in browser console window by coding in code-behind.
I am aware that it could be done by javascript as well as we can set message in Visual studio output window by using System.Diagnostics.Debug.WriteLine() method.
But I am looking for a way to set message in Browser console so that I can have easy access to it without disturbing its normal operation when code is set up on server.
|
|
|
|

|
I want url routing like as sub domain.
For example my website is abc.com so that now i wants to url rewriting like
user1.abc.com,
user2.abc.com,
user3.abc.com,
user(N).abc.com
Also when ever once user is registered,
After that user can directly open site like: www.deviantart.com
user profile link is : abdussalam143.deviantart.com
I have no idea how to do it,
I ask this Question two times but get no answers
Thanks in Advance
|
|
|
|

|
Hi Gurus,
I have an requirement,where i need to get the list of pages of an Facebook Account.
For eg : if the user has 3 pages,then if i select the 1st page and click on post,then the information should be shown in that particular page.
i tried from manage_pages in facebook,But not sure how to get the list of pages,Please advice me on how to accomplish this.
Thanks in Advance,
Prasanth
|
|
|
|

|
I have about 10 sets list of values tables that I need to bind to a dropdownlist on the webform. My question is when should I do databinding to get better performance?
I have tried at:
OnInit() and Page_Load() but still seeing the slowness.
Any suggestions? - Thank you in advance!
|
|
|
|

|
Hey everyone,
I have a great opportunity at work to get to learn ASP.NET. One of the project I need to work on is to design a web form for software registration. However, I do not know ASP.NET that well... actually not at all. I was wondering if any of you can recommend either books or web sites that you found that was helpful in learning ASP.NET.
By the way, I am not asking for a Google search of "Asp.net Tutorials" what I am asking is what tutorials have you found helpful in learning ASP.Net.
Not sure if that helps at all but I am using VS2010 and using C# for the behind code.
Thanks!
|
|
|
|

|
Hey,
I am trying to publish a checkin on a user facebook wall using the Graph API.
Before I do, I get the access_token with the following scope:
offline_access,publish_actions,publish_stream,user_checkins,publish_checkins,friends_checkins
It works fine when I publish a normal post on the users wall but when I try to publish a checkin, I get the following error:
(OAuthException - #200) (#200) Requires extended permission: publish_checkins
The code Im using to publish the checkin is:
Dim client As New FacebookClient(token)
client.Post("/me/checkins", New With {.message = Message, .place = placeID, .coordinates = coordinates})
|
|
|
|

|
vbs needs to be run from C# web application on windows server 2003. Batch files works fine, but vbs neither via process nor via batch file. vbs works fine via command prompt.
|
|
|
|

|
I'm starting a side project, the first stage will be a building a web application with MVC, in later stages we will be adding clients for mobile platforms. My thought was to create one API that all of the applications (web and mobile) go through to get/save data.
Because these different platforms will be on different release cycles I'll need a way for, say IPhone, to work with one version of the API while the website is using an updated version. What's the best way to do that? Can someone point me to a nice article or blog post somewhere about that?
My ideas so far are:
*Create a separate project to host the MVC Web API and host that in a subdomain or in a subfolder of the root site. Then either reference the DLL directly or reference it through the web (seems like an unnecessary http call)
*House the API withing the MVC project that will be the website and try to version it based on url in there. I did some quick testing with that this morning and wasn't able to get it to work, it always resided at \api (I couldn't get it to reside at \api_v2)
Any ideas or guidance would be greatly appreciated.
|
|
|
|

|
I am a newbie asp.net .. I am trying to design a page in which we can upload an image and then compare the uploaded image with all the image in the database and display the images which match the uploaded image... I am not able to do the second part i.e comparing and didplaying related result ..so i need a help on that .. Thanks in advance
|
|
|
|
 |
Message Automatically Removed
|
|
|
|
 |
Message Automatically Removed
|
|
|
|

|
Before (c# code)
string[] directory = Directory.GetFiles(@"C:\test");
foreach (string dir in directory)
{
FileStream fs = new FileStream(dir.ToString(), FileMode.Open, FileAccess.Read);
StreamReader reader = new StreamReader(fs, System.Text.Encoding.Default);
Response.Write(dir);
GV_Value = (reader.ReadToEnd());
Save();
reader.Close();
reader.Dispose();
}
(directory)
1.txt, 3.txt, 5.txt, 6.txt, 7.txt
(SQL INSERT Shape)
create table test
(
idx int identity(1,1),
file text null
)
idx file
1 1.txt
2 3.txt
3 5.txt
4 6.txt
5 7.txt
6 NULL
7 NULL
----------------------------------------------------------------------
after
(directory)
1.txt, 3.txt, 5.txt, 6.txt, 7.txt
idx file
1 1.txt
2 NULL
3 3.txt
4 NULL
5 5.txt
6 6.txt
7 7.txt
(How-to) questions
|
|
|
|
|

|
Hi,
I want to ask should I use cookies with FormAuthentication in my ASP.NET or it's better to store it in Sessions?
what's your advise?
Technology News @ www.JassimRahma.com
|
|
|
|

|
i wish to change the font- family at runtime n also font-wt.. is it possible ??
|
|
|
|

|
<asp:DataList ID="DataList1" runat="server" DataKeyField="ItemCode"
DataSourceID="SqlDataSource1" RepeatColumns="6"
RepeatDirection="Horizontal" >
<ItemTemplate>
<div onmouseover="this.style.backgroundColor='#DBDDDE'"
onmouseout="this.style.backgroundColor='#ffffff'">
<center><asp:ImageButton ID="ImageButton1" runat="server"
ImageUrl='<%# "Handler_Show.ashx?ItemCode=" + Eval("ItemCode") %>' Width="70%" Height="50%"/></center>
<br />
<center> <asp:Label ID="ItemNameLabel" runat="server" Text='<%# Eval("ItemName") %>' />
<br /></center>
<center> <asp:Label ID="ItemCodeLabel" runat="server" Text='<%# Eval("ItemCode") %>' />
<br /></center>
<center> <asp:Label ID="ItemPriceLabel" runat="server" Text='<%# Eval("ItemPrice") %>' />
<br /></center>
<center> <asp:Label ID="GenderLabel" runat="server" Text='<%# Eval("Gender") %>' />
<br /></center>
<center> <asp:Label ID="ItemCategoryLabel" runat="server"
Text='<%# Eval("ItemCategory") %>' />
<br /></center>
<center> <asp:Label ID="ItemMsgLabel" runat="server" Text='<%# Eval("ItemMsg") %>' />
<br /></center>
<center> <asp:Label ID="ItemPartLabel" runat="server" Text='<%# Eval("ItemPart") %>' />
<br /></center>
</ItemTemplate>
</asp:DataList>
i want item name label displayed when mouse is over on datalist~
<asp:Label ID="ItemNameLabel" runat="server" Text='<%# Eval("ItemName") %>' />
|
|
|
|

|
I Am Developing a Social Networking Website
I Want to read data of login Member and display
i have display strings.
But i have no idea about that
so please Help me
Thanks in advance
|
|
|
|

|
Hi all!
I have web service Insert Data in to DB with input is object and output also is a object
I make a page for call that Service with 2 class :
public class DataReq
{
public string ID { get; set; }
public string NAME{ get; set; }
}
public class DataResp
{
public string ID { get; set; }
public string RespCode { get; set; }
}
but wwhen i using :
DataResp = DATA.DATAINSERT(DataReq.ID, DataReq.NAME);
and debug , appear error :
The method or operation is not implemented.
Plase help me
|
|
|
|

|
Hi,
I want to know how can I have a mobile regular expression to have just numbers and just a plus sign, something like +16544445565
Technology News @ www.JassimRahma.com
|
|
|
|

|
Hi,
I want to know how can encrypt data such as credit card before saving it into MySQL and I should be able to retieve it (Decrypt) whenever it's required?
Thnaks
Technology News @ www.JassimRahma.com
|
|
|
|

|
Dear All, I am facing this problem when accessing ASP.net Web Site Administration Tool. If I put my website in C: then this ASP.net Web Site Administration Tool work good but when I try to open it for website located somewhere else in my Hard Disk then it gives me above mentioned error. Please Help Thanks in advance Adi
|
|
|
|

|
I have added the AutoCompleteExtender feature for a text box in a user control. I have used the user control in a page. The AutoCompleteExtender feature is not working for very first time. Can some one help me on this.
|
|
|
|

|
I have added the AutoCompleteExtender feature for a text box in a user control. I have used the user control in a page. The AutoCompleteExtender feature is not working for very first time. Can some one help me on this. More over I'm new to .net
|
|
|
|

|
A page P contain user control U . That user control U contains a timer T . When the timer T tick event occurs then the page P is flickered during scroling of the Page P.
Any solution to stop this page flickering.
Timer T tick every 8 seconds.
|
|
|
|

|
Binjour,
comment je regle un menu deroulant dans une application web asp .Net, un menu lorsque je passe la souris dessus, un sous menu apparait, et merci
|
|
|
|

|
Good Day,
I am IT Programming graduate with MCPD and MCTS qualifications . I have been looking for an entry role since i graduated and recently i have been offered an internship. I have to start on 2013/04/06.
I am glad that this is the chance to unfold my career.
The language that i will be using is C#,HTML,SP.net and SQL. i have been told that i will start by designing the forms according to business rule or clients requirements.
Can you please give me some tips in order for me to succeed in my Internship?
Below is my questions;
1.How do i succeed to be came a good candidate?
2.What is that i have to do?
3.How do i design good forms(provide with URL)?
4.Which website must i use for me to do research?
Thanks for your help..
sitholimela
|
|
|
|

|
I have a couple of placeholders in a form to hide / show fields depending on a boolean. My form controls are all laid out like the following, each contol is on it's own line and when output as html (afaik) should still be on it's own line.
<p><asp:label ID="lblSchool" AssociatedControlID="School" runat="server">School (if applicable):</asp:label>
<asp:TextBox id="School" runat="server" MaxLength="50" />
<asp:RequiredFieldValidator ID="reqSchool" runat="server" ControlToValidate="School" Display="Dynamic" CssClass="val-error" Text="* required" SetFocusOnError="true" />
<bcg:NoPunctuationValidator ID="validSchool" runat="server" ControlToValidate="School" Display="Dynamic" MaxLength="101" CssClass="val-error" Text="* invalid" SetFocusOnError="true" /></p>
I have found however when the controls in the placeholder are rendered they all squashed up with no whitespace in betweeen them. It seems the placeholder is removing the whitespace.
Is there any way to stop this.
modified 24 Apr '13 - 11:07.
|
|
|
|

|
Hi,
I have written java script for pop up to come when image button in clicked and record to be saved,
the following is the html code,but validations are not working when i click
image button to save,how can i activate the validations when image button is clicked
<asp:ImageButton ID="imgSave" ValidationGroup="SaveValidation"
runat="server" OnClientClick="return SaveConfirm();" ImageUrl="~/Images/Buttons/save.png"
OnClick="imgSave_Click">
|
|
|
|

|
I want append Gridview using threading in asp.net
actually i want to do something like bind GridView from code behind using multi thread something like in social networking sites few content appears and remaining also keep appending
like: when we login into any social networking site the output result comes with few content and remaining content continues to append
|
|
|
|

|
I am trying to encrypt a password in asp.net.
I have a VB code that does the same.
Please tell me a asp.net equivalent of the following code
Dim processPwd = New ProcessPassword()
Dim encryptedPwd = String.Empty
encryptedPwd = processPwd.EncryptPassword(TxtPassword.Text)
Note- my server only accepts the encryption done by the above way, so please suggest accordingly.
Thanks
|
|
|
|

|
Who can help me on expression i want the format must be 20.00 must .00 at the back , what i should add in with my expression?
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
ControlToValidate="TextBox1" ErrorMessage="RegularExpressionValidator"
ValidationExpression="^\s*\$?\s*\d{1,3}((,\d{3})*|\d*)(\.\d{2})?\s*$">*</asp:RegularExpressionValidator>
this expression only can check first digit cant be .
only allow digit, and cant check after . must be 2digit at the back for example 20.00
|
|
|
|

|
Hi,
i have a doubt about how to display a grid view in ASP.NET from SQL server 2012 according to the instruction given by drop down list from multiple tables. For example say, I have created 2 tables Members and Item where Member.Mid=Item.Mid set as primary and foreign key. okay, now my question is how should write or set code for to display according to the value selected from dropdown list in one gridview.
Once again, I want display in one gridview from multiple tables according to the value from dropdownlist...
I am using C# in VS2012 and SQLserver 2012.
Thank you in advance...
S.Thomas.
S.Thomas
|
|
|
|

|
Hi All,
I want to connect to a SQL Server database saved on URL
database name fc000xststsql01.IVRCallCenterTest
server address http://ma001xsicmw91/IVRControllerAppProd/Home/
what would be the connection string I will use in web config file ?
Thanks
|
|
|
|

|
I have an application/Web application on VS2010 , I need to fetch data from Oracle database without having client installed on my VS2010 machine. I have done this in J2EE through connectivity jars available freely. Can anyone please help me how to do this without oracle client. Is there any DLL available which i can add as a reference...
thanks in Advance
|
|
|
|

|
hi everybody
can anyone let me know what is worker process...and expansion of w3wp...how can i download it?i have VS2010,iis7,SQLSERVER 2008 R2..and win 7 ultimate OS...what is R2 in sqlserver 2008R2
|
|
|
|

|
Can you please tell me what is SSPI full form in sql server in integrated security?
Thank you,
S.Thomas.
|
|
|
|

|
for my page i have 88 CheckBox when the page is load i want set the selected to false. so any one can help me create a for loop when page is load all the checkbox set to false by using
<asp:CheckBox ID="CheckBoxXS" runat="server" Text=" XS" onClick="forXS(this)" class="checkboxS" OnCheckedChanged="CheckBoxXS1_CheckedChanged"/>
function forXS(sender) {
var tb1 = document.getElementById('<%= txtXS.ClientID %>');
tb1.style.display = sender.checked ? 'inline' : 'none';
if (tb1 != null) {
tb1.focus();
ValidatorEnable(document.getElementById('<%= val1.ClientID %>'), sender.checked);
}
}
________________________________________________
can use Java Script fumction for this and call on page load as below: but i dont know how to place inside my script
function UncheckAll(){
var w = document.getElementsByTagName('input');
for(var i = 0; i < w.length; i++){
if(w[i].type=='checkbox'){
w[i].checked = false;
}
}
}
|
|
|
|

|
Hey Everybody.
I have created crystal report in asp.net project in VISUAL STUDIO DOT NET 2010. These reports are running fine when I run the application by pressing F5 in my development machine. But i want to know how to publish these reports to web server.
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
The above line will help you to know the version of Crystal Report.
Following ERROR Occurs
Quote: Server Error in '/' Application.
Invalid file name.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Invalid file name.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x800001fb): Invalid file name.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +270
[CrystalReportsException: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +333
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +876
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +84
WebPathLab.AgentList.Page_Load(Object sender, EventArgs e) +504
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Thanks in advance.
modified 21 Apr '13 - 21:32.
|
|
|
|
 |