Yes, you can get IE developer Toolbar http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en[^] Or can view the source of page and search for the control.
Milind R Chavan
Posts
-
Controls HTML viewsource is not displayed in UpdatePanel -
ASP.Net Treeview next nodeHello, I am using Asp.net treeview in my application. and on button next and previous I want to traverse through the treeview nodes back and forth. but the problem is, I can not get the property like : Node.NextNode or Node.PrevNode Again there is no property like Node.Index Will you please help me to resolve this problem? Regards, Milind
-
FileUpload Control in UsercontrolYes I am doing it. I can get the values of all controls while postback except Fileuploadcontrol.
-
FileUpload Control in UsercontrolHello, I have one Fileupload control in usercontrol. And I am loading usercontrol to in panel within updatepanel of page dynamically. So the scenario is like this : Masterpage --- Default.aspx ---- UpdatePanel --- ASP Panel ---- Usercontrol loaded according to user request. I have loading the usercontrol dynamically , As User can load the usercontrol multiple times I can able generate usercontrol while postback of the page. The problem is, When I click "Upload" button within usercontrol I am not getting postedfile of fileupload I have also tried following method in usercontrol to solve this problem , but no success yet <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="conditional"> <Triggers> <asp:PostBackTrigger ControlID="IbUploadT" /> </Triggers> <ContentTemplate> <asp:FileUpload ID="fupResource" runat="server" EnableViewState="true" /> <asp:ImageButton ID="IbUploadT" runat="server" ImageUrl="~/App_Themes/White/Images/Add.ICO" Height="16px" onclick="IbUploadT_Click" /> </ContentTemplate> </asp:UpdatePanel> Even though the page is postingback , I am not getting the postedfile of Fileupload Please help me. Regards, Milind
-
Updating Control outside Update pannelHello, I have one treeview in updatepanel and one asp pannel(with visible = "false") out-side updatepanel. On selectedIndexchanged of treeview, I want a pannel outside of updatepanel needs to be visible. But it is not working. Is there any work around so that I can make my pannel visible w/o postback? Thanks in advance. Regards, Milind.
-
Showing the Virtual Directories of Remote ServerHello, The requirement is file transfer via HTTP from local hard drive to Remote server via Http. And I want to show the directories of remote server so I can upload or download file/folder (just work like FTP does but via HTTP) I have one question about showing the virtual directories of remote server from web application in Asp.Net. Please guide me whether it is possible or not. Regards, Milind
-
How to get value of HTML Editor in javascriptI am using the control HTML Editor for ASP.NET AJAX How to Create an HTML Editor for ASP.NET AJAX[^] I want to get the value of the HtmlEditor control in javascript Thanks in advance Milind
-
Getting HTML string of Panel in codebehindOhh Problem .... It is giving me error on control.RenderControl(htmlWriter) line. public string GetControlRenderedOutput(Control control) { StringBuilder builder = new StringBuilder(); StringWriter writer = new StringWriter(builder); HtmlTextWriter htmlWriter = new HtmlTextWriter(writer); control.RenderControl(htmlWriter); return builder.ToString(); } Error : RegisterForEventValidation can only be called during Render();
-
Getting HTML string of Panel in codebehindThank you, It works
-
Getting HTML string of Panel in codebehindI am trying to get HTML containing in the Panel object (the panel is contaning tables and gridview)
-
Getting HTML string of Panel in codebehindHello, I am using a panel control on page. I want a html of the pannel control in codebehind. Thanks in Advance Regards, Milind
-
Cookies for Multiple user on same pcThank you Manas,
-
Cookies for Multiple user on same pcHello, I want to store cookies of multiple user logged in different times on same pc. Is this possible? Thanks in advance Regards, Milind
-
Sending mail with outlook from Asp.NetHello, I am trying to send email from Microsoft outlook from my application, and I wrote following code : string stSubject=""; string stTo=""; string stCC=""; string stAttachmentFileName = ""; string stDisplayName = ""; string stBody = ""; ApplicationClass oApplicationClass = new ApplicationClass(); NameSpace oNS = null; MailItem oMailItem= (MailItem)oApplicationClass.CreateItem(OlItemType.olMailItem); //stSubject is the mail subject oMailItem.Subject = stSubject; //stTo is the email to address // oMailItem.From = "m.r.chavan@amc.nl"; oMailItem.To = "aa@aa.nl"; oMailItem.CC = "bb@bb.nl"; oMailItem.BodyFormat = OlBodyFormat.olFormatHTML; //if you want it in the plain format, you can set body format as oMailItem.BodyFormat = Outlook.OlBodyFormat.olFormatPlain; oMailItem.HTMLBody = stBody; //oMailItem.Attachments.Add(stAttachmentFileName,(int)OlAttachmentType.olByValue,stBody.Length+1,stDisplayName); oMailItem.Display(true); Can anybody tell me how can i set the oMailItem.From in the mail, I know that the outlook is taking the default user account for mailing, but can I set the FROM property ?
-
Error message coming while selecting data sources of Microsoft reportsHello, I am using Microsoft reports with reportviewer control of Microsoft for my website. I have added one RLDC report file into my application and trying to open data sources from Report menu of VS designer. But I am getting following error : --------------------------- Microsoft Visual Studio --------------------------- Could not load file or assembly 'AjaxControlToolkit, Version=3.0.20820.16598, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The system cannot find the file specified. --------------------------- OK --------------------------- Please help me out to solve this problem, also if I have put this question in wrong forum. Regards, Milind
-
Populate dynamic data on mouse hoverHi, In that case, you can write a javscript function on onmouseover attribute, and in "Opendiv(para)" javascript method you can pass row index and show the appropriate data in DIV control. protected void gridview_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes["onmouseover"] = "javascript:OpenDiv(" + e.Row.RowIndex + ");"; e.Row.Attributes["onmouseout"] = "javascript:CloseDiv();"; } } Regards, Milind
-
Populate dynamic data on mouse hoverHi, There are two ways you can do that. 1. If you are using Ajax Updatepannel then, you can easily get info from site http://www.asp.net/AJAX/AjaxControlToolkit/Samples/HoverMenu/HoverMenu.aspx[^] 2. if it is normal Aspx page with no ajax then, on each rowbound write code for mouse hover attribute eg. if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes["onmouseover"] = "this.style.cursor='hand'"; e.Row.Attributes["onmouseout"] = "this.style.textDecoration='none';"; } you can also call javascript on onmouseover attribute. Regards, Milind
-
TextChange Event on a collection of textboxes [modified]Hi, If the text boxes are not dynamic then it is very easy to make that as : so on and so forth .... in code behind protected void TextBox_TextChanged(object sender, EventArgs e) { TextBox txt = ((System.Web.UI.WebControls.TextBox)(sender)); } you can easily get which textbox changed event is called Regards, Milind
-
Applicxation formHi, Just Test the mail by using following code add following in directives Imports System.Web.Mail and write following code : Dim mymsg As New MailMessage() mymsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "25") SmtpMail.SmtpServer = "mail.wunderman-amman.com" mymsg.From = "test@test.com" ' from email id mymsg.[To] = "test@test.com" ' to email id mymsg.Subject = "ATICO Newsletter" mymsg.BodyFormat = MailFormat.Html mymsg.Body = "test" SmtpMail.Send(mymsg) Regrads, Milind
-
Applicxation formHi, Please set the 2 parameters before sending SMTP MailMessage : message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "25"); SmtpMail.SmtpServer = "Server name"; //please specify your mail server name Again, check the anti virus setting for the smtp mails. Regards, Milind