Search

You searched for the word(s): userid:770417

Matching Posts

  • Re: aspx webcontrol radio onclick event

    [quote user="tatinev"] I did exactly how u asked and it still doesnt work, if I have a new aspx page and do this then ot works. But in my current page when I am trying to do this it doesnt call the RadioButtonList1_SelectedIndexChanged method. I dont know what I am doing wrong. Basically the current page I have, has a lot more forms which browse for a file and post them through submit. Any ideas ? [/quote] Here is the full page code: <%@ Page Language="C#" %> <!DOCTYPE
    Posted to Web Forms (Forum) by Heloril on 9/16/2009
  • Re: aspx webcontrol radio onclick event

    Hi, If you try this: <form id="form1" runat="server"> <asp:RadioButtonList ID="RadioButtonList1" runat="server" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged" AutoPostBack="true"> <asp:ListItem>Option 1</asp:ListItem> <asp:ListItem>Option 2</asp:ListItem> </asp:RadioButtonList> </form> <form id="form4" enctype="multipart/form-data" method="POST"
    Posted to Web Forms (Forum) by heloril on 9/15/2009
  • Re: Div InnerHTML Postback

    Hi, As you know everything you change in JavaScript (value, style, …) is not applied to server side. The only way to maintain the page state from the client side to the server side is to use Hidden Fields . I put a example on my blog: http://www.notesfor.net/post/2009/07/20/10-ASPNET-Frequently-asked-questions-of-July-2009.aspx#question4 Regards, Helori.
    Posted to Client Side Web Development (Forum) by heloril on 9/15/2009
  • Re: Div InnerHTML Postback

    And your page modified to keep div state: <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Page_Load(object sender, EventArgs e) { SaveState(); } private void SaveState() { MyDiv.InnerHtml = hidInnerHtml.Value; } </script> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">
    Posted to Client Side Web Development (Forum) by heloril on 9/15/2009
  • Re: aspx webcontrol radio onclick event

    Hi, Try this page code: <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e) { lblSelectedOption.Text = RadioButtonList1.SelectedValue; } </script> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">
    Posted to Web Forms (Forum) by heloril on 9/14/2009
  • Re: jquery round corners (must be transparent)

    Hi, You can try this link: http://blue-anvil.com/archives/anti-aliased-rounded-corners-with-jquery Regards, Helori
    Posted to ASP.NET AJAX UI (Forum) by heloril on 9/9/2009
  • Re: jquery round corners (must be transparent)

    Hi, What do you mean by transparent, You can make the test: http://www.curvycorners.net/demos/
    Posted to ASP.NET AJAX UI (Forum) by heloril on 9/9/2009
  • Re: jquery round corners (must be transparent)

    Test this page: <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> </script> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script
    Posted to ASP.NET AJAX UI (Forum) by heloril on 9/9/2009
  • Re: Enable Duble click in web form

    Hi, See this script: <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void ctlButton_Click(object sender, EventArgs e) { string path = Server.MapPath("~/Temp/"); //Temp folder in application root ctlFileUpload.SaveAs(path + ctlFileUpload.FileName); ctlImage.ImageUrl = String.Format("~/Temp/{0}"
    Posted to Client Side Web Development (Forum) by heloril on 9/9/2009
  • Re: calling js method in JS file in c# code

    Hi, If you have the page reference (here myPage is System.UI.Page reference) you can do it like this: my Page.ClientScript.RegisterStartupScript( typeof (myPage), "ScriptAlertTest1" , "alert('test1');" , true );
    Posted to Client Side Web Development (Forum) by heloril on 9/8/2009
Page 1 of 25 (250 items) 1 2 3 4 5 Next > ... Last »