|
Hi apurva,
No need for sorry i always thanks for your reply. yes the aspnet_client folder is there.
Thomsas joy
|
|
|
|
|
Hi Thomas,
As far as I know,"ValidatorEnable" is a function defined in the "WebUIValidation.js" file which is present in the C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322 folder...
Try copying aspnet_client folder to the root of your website...Your application is probably not able to find the required file.
--Dimple
|
|
|
|
|
Hi friends,
Thanks for your great help. Now it works fine.
Thomas joy
|
|
|
|
|
Hi all,
Can any body please give me the answer for my Question?
My Question is How to Work with sending and Recieving mails in Asp.Net?
Please it is very urgent For me. Thanks A crore in Advance.
Thanks and Regards
Venkat
|
|
|
|
|
You will need to use classes of System.Web.Mail namespace.
Code sample is available on
http://www.stardeveloper.com/articles/display.html?article=2001082601&page=1
Maybe u should have a look at it..
Hope it helps
|
|
|
|
|
|
Thanks for your reply man. But it is giving information for sending only. How to do recieving mails in Asp.Net. Thanks a crore in Advance
Thanks and Regards
Venkat
|
|
|
|
|
See if this helps
http://www.a1vbcode.com/snippet-3383.asp
|
|
|
|
|
Thanks alot yar. i will try with this and get back to you with the result. Thanks a crore once again
Thanks and Regards
Venkat
|
|
|
|
|
Once we declare in ASP.NET Page Tag - EnableViewState="false" but, it will just work like EnableViewState="true".
So the Question is what is its working? and what is the difference between EnableViewState true or false.
|
|
|
|
|
Hi,
To understand the difference..I suggest you read the foll. article
http://www.extremeexperts.com/Net/Articles/ViewState.aspx
especially the example mentioned in the "Decision on ViewState Usage" section
--Dimple
|
|
|
|
|
|
Does anyone know the code which enables you to send messages in MSN without being signed in?
Any help would be greatly appreciated;)
|
|
|
|
|
Please send me the code to create feedback form in ASP.Net which sends the feedback to user's email id as well as my email id.
Somya
|
|
|
|
|
hi
as much as i get ur problem u want to send mail from ur id.
if its is like that then i will send u the code.
or anything else then Explain it
thnx
aavesh
|
|
|
|
|
Hi,
I want to display feedback message and date time display in C# .net.so plese help me
|
|
|
|
|
Asp.Net 2.0 provide a Wizard Control for this. Try to use MSDN.
|
|
|
|
|
hello
can anybody tell me how to convert the information of site into the Xml Format in Asp.net. i m not able to do that pls. tell me.
thanks
Aavesh
|
|
|
|
|
Hi all,
I want datetime datatype column in database(SQL Server).In SQL it is stores in the format MM/dd/yyyy hr:mm:ss AM/PM.
My problem is that I need to display this time in 24hrs.
For ex: 6/20/2005 3:30:00 PM
They I want to display 20/6/2005 in date column of datagrid and and the time 3:30 PM should be display as 15:30 and it is AM then I dont have to do any thing.
For Date I have use the following code:
System.Globalization.DateTimeFormatInfo dtf = new System.Globalization.DateTimeFormatInfo();
dtf.ShortTimePattern = "dd/MM/yyyy";
DateTime fdate = DateTime.Parse(txtTrainingfdt.Text, dtf);
Can any one tell me how should I do the same thing for time.If any one can suggest me with the code that will be more help full.
Thanks in advance.
|
|
|
|
|
Hi,
I have dataset and and a hyperlink.when somebody click on that link it should download
the ms-excel file. I dont want to create it and store it on the
web server. I would like to create it on the fly and send
a temp file or something like that.
Can anybody please help me?
Thanks,
NIKI
-- modified at 0:23 Friday 30th June, 2006
|
|
|
|
|
Hello Niki,
You can create excel file on the fly. I have posted in my previous message that how to create excel file on the file and give to user for download.
First of all you need to generate html code in table format from dataset.I am writing the code for that as well.
----------------------------------------------------------------------
//Write a table structure from dataset
//Suppose your dataset name is ds then write following code on click event of hyperlink:
string strHtml = "<table border='1' cellspacing='0' cellpadding='0'>";
DataTable dt = ds.Tables(0);
foreach(DataRow dr in dt.Rows)
{
strHtml+="<tr>";
for(int i=0;i<dt.Columns.Count;i++)
{
strHtml+="<td>" + dr[i].ToString() + "</td>";
}
strHtml+="</tr>";
}
strHtml+="</table>";
//Clear the Response Headers
Response.Clear();
Response.Charset = String.Empty; // String.Empty();
//Set Content Type and add header
Response.ContentType = "application/vnd.ms-excel";
//Add Header to create a file on the fly, give file name also. (i.e. abc.xls)
Response.AddHeader("Content-Disposition", "attachment; filename=abc.xls;");
this.EnableViewState = false;
//Declare new HtmlTextWriter
System.IO.StringWriter myTextWriter = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter myHtmlTextWriter = new System.Web.UI.HtmlTextWriter(myTextWriter);
//Declare new HtmlGenericControl and feed it with the strHtml
HtmlGenericControl gn = new HtmlGenericControl();
gn.InnerHtml=strHtml;
//Finally render the HtmlGenericControl to Response
gn.RenderControl( myHtmlTextWriter);
Response.Write(myTextWriter.ToString());
Response.End();
----------------------------------------------------------------------
Regards,
Ketan.
-- modified at 7:30 Wednesday 5th July, 2006
|
|
|
|
|
Hi Ketan,
Thank You very much for the valuable help.
As I know, we dont have onclick event for HyperLink. So, where should i place this code???
I really appreciate your help.
Thanks,
NIKI
|
|
|
|
|
Set NavigateUrl property of HyperLink control to current page name and add one flag in query string.
For example, if your current page name is page.aspx then set NavigateUrl property as : "page.aspx?excel=true"
And then, in page_load() event add following code:
if(Request.QueryString["excel"]=="true")
{
//Write stuff to create excel file.
}
I am sure this trick will work.
Regards,
Ketan.
|
|
|
|
|
Hi Ketan,
Thank you very much sir.
But I am working on Share Point server. And this functionality i have to add in my WebPart.I am facing hard time for this problem.If you can help me, it will be really great.
Thank you very much ketan for your help.
NIKI
|
|
|
|
|
Well, I dont know anything about Share Point server, I am sorry I cant help now anymore.
Regards,
Ketan
|
|
|
|