Thanks for your replay...
amitamit099
Posts
-
Gridview-checkbox -
Gridview-checkboxHi All, There is two column in Gridview. First is checkbox and second is textbox. when i checkbox is check, then textbox visible should be false. else i have to make textbox visible true. got it... if checkbox.checked= true then textbox.Visible= false else textbox.Visible= true end if so...problem is i am not getting the event of checkbox... plz can u send me code..
-
The compiler failed with error code -1073741819.Hi All, When i compile my page i get erroe as mention below. " The compiler failed with error code -1073741819 " Plz can any one help me to overcome this problem
-
Avoid Duplicate record insertion on page refresh(F5)I am developing a mail application. Through smtp I am sending mail. I work properly. Mail will send successfully. After sending mail I am display message your mail has send successfully(which is show after the mail has been send). But the problem is that when I press F5 button then mail again send. And it is sending again and again when ever I press F5 I donot want to send mail again when pressing F5 and message will also will display after mail has been send. I tray to redirect the page it solve my problem to resend the page but in this situation massage will not display. Plz can u help me
-
Web Deployment error for WebUserControl event [modified]I am developing a mail application. Through smtp I am sending mail. I work properly. Mail will send successfully. After sending mail I am display message your mail has send successfully(which is show after the mail has been send). But the problem is that when I press F5 button then mail again send. And it is sending again and again when ever I press F5 I donot want to send mail again when pressing F5 and message will also will display after mail has been send. I tray to redirect the page it solve my problem to resend the page but in this situation massage will not display. Plz can u help me
-
Avoid Duplicate record insertion on page refresh(F5)i appreciate your solution but there is some problem in your solution. 1)i cant forced any user to use only refresh button.user can click any button. 2)second option is seen good but it is not a appropriate solution of my problem. i want to display message when submit button will press,and when user click on refresh(F5) then message will we clean.
-
Avoid Duplicate record insertion on page refresh(F5)Thanks for your replay.But it is not working. after submit i want to display message "that data has successfully inserted".but when i redirect the page it not show.
-
Avoid Duplicate record insertion on page refresh(F5)How to Avoid Duplicate record insertion on page refresh(F5) in ASP.NET using C#
-
sending mail through smtpSorry, but are you sure this is on click event? because if you send email through on click event it should'nt run on page load. unless this is onPrerender event. I guess so... yes i am sure that this is on click event. it is working correctly. only problem is that after send mail when i refresh page it will again send the mail.
-
sending mail through smtpi am sending mail through smtp.it is working fine but problem is that when i refresh the page mail again be send.i don't want to send mail again when page will refresh.plz help me............. this is my code using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Net; using System.Net.Mail; using System.Text; using System.IO; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Page.Title = "Contact US"; txt_name.Focus(); lbl_status.Visible = false; } protected void btn_submit_Click(object sender, EventArgs e) { MailMessage mailMsg = new MailMessage("xyz@xyx.in","abc@abc.in"); string name = txt_name.Text.Trim(); string address = txt_add.Text.Trim(); string telnor = txt_telcr.Text.Trim() + "-" + txt_telnr.Text.Trim(); string telnoo = txt_telco.Text.Trim() + "-" + txt_telno.Text.Trim(); string faxno = txt_faxn.Text.Trim(); string mobileno = txt_mobile.Text.Trim(); string typeofwork = rdo_type.Text.Trim(); string query = list_query.Text.Trim(); string Email = Emailid.Text.Trim(); if (Email == "") { Email = "dummyforcheck@in.com"; } mailMsg.Subject = name + " wants to contact us"; mailMsg.IsBodyHtml = true; MailMessage mailMsgUser = new MailMessage("xyx@xyz.in", Email); mailMsgUser.Subject =" Yoyr mail has been recived"; mailMsgUser.IsBodyHtml = true; mailMsg.Body = "<b> Name :" + name + "<br/><b>Address :" + address + "<br/><b>Phone Number(R) :" + telnor + "<br/><b>Phone Number(O) :" + telnoo + "<br/><b>Fax Number :" + faxno + "<br/><b>Mobile Number :" + mobileno + "<br/><b>Mobile Number :" + Email + "<br/><b>Type Of Work :" + typeofwork + "<br/><b>Query :" + query; mailMsgUser.Body = "<b> Esteemed <br/><b> Dear </b>" + name + "<br/><br/><span style='margin-left:50px'> Thanks for contacting us. Our sales executive will contact you shoon.</span><br/><br/><br/><b>Thank you<br/>Royal Village Team.";
-
check email is exist or not before sending maili want to send mail through smtp. if i entered wrong email-ID then it also send i want to check the email is exist or not before sending. plz any one can help me,how to fix it. i want only exist email-id will send other wise it will show message plz check email-id plz any one can help me,how to fix it.
-
Fixed nunber of char in multiline text boxI am using multiline text box.i set size of it 200. i set property MaxLength="200". and i am also using RangeValidator of set the fixed no of char. But it will not working ,it will accept more then 200 char. plz anyone help me.i will very thankful for him.
-
ajax calendarThanks............... :)
-
ajax calendarHow to use Ajax calendar control using asp in c#. Plz tell me in detail
-
crystel Report in not refreshi am using Crystalreport to generate the report.i am using .NEt2005 and using C# developing web project 1.In my first page(Employee Detail) there is a button (View report),when i click on that button my second page will open there are two radio button (A) View report by employee ID (B) view Report by employee name when i am selecting any one of the option a another whindow will open they are asking for three fields. (x)Employee ID (y)From date (z) To date all these therr parameteres i passed in through crystalreport.i am not don any coding for that. when i am sellecting (A).then they asking for all three parameters then it will so Repoet of that particular employee. There is one link button in report page which is use to Redirect the page in first page(Emloyee Detail). when i redirect the page and again click on button(view report) then it will go to secong page and again when i selected (A),this time it will not asking any parameters it will directely show the previous employee detail
-
Clicking on data DataGridI have taken one datagrid to display the information of an employee(emp_ID,emp_name,emp_age,emp_add,emp_sal).suppose 10 record display in the datagrid.when i click on 5 record in datagrid then all particular record of tht datagrid will selecten in different textbox.i can click on any field employee.
-
calende option disappeare after deploying my code in serverHello. Our programmer created a VS2005 Crystal Report that uses the calendar control . It seems to work fine when viewed locally but when we publish it to the web server which is W2K Server the Calendar control's image is not showing with a red X and some text box fields look like they're enabled but can't click on to them. Does anyone know what we need to do to make the Calendar control and other text box fields work when we publish them to our webserver? Thanks in advance.