Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:770417
More Search Options
RSS Available
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 »
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
ASP.NET:
PDC and Tech-Ed Europe Slides and Code
WindowsClient:
JScript location bar silliness
WindowsClient:
Anybody build a XAML parser in C or C++ yet?
WindowsClient:
Silverlight use, power and deployment keeps growing; so does WPF
ASP.NET:
T4CSS: A T4 Template for .Less CSS With Compression
WindowsClient:
JSON-P: An Elegant Hack
Channel 9:
Photosynth Update and New UI
Channel 9:
First Look: Streetside in Bing Maps
Channel 9:
Coding4Fun at PDC 2009
WindowsClient:
10 Must-See PDC 09 Sessions
Channel 10:
Photosynth Updated with New Release and New UI
Channel 10:
WindowsBlinds 7 Now Works with Windows 7
Channel 10:
Zune HD Launches New Colors
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online