Click here to Skip to main content
15,922,155 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralAJAX Set focus + User Control Pin
tomwilliams11-Apr-08 4:19
tomwilliams11-Apr-08 4:19 
GeneralRe: AJAX Set focus + User Control Pin
tomwilliams11-Apr-08 5:16
tomwilliams11-Apr-08 5:16 
GeneralDatagrid Problem Pin
Devkranth Kishore Vanja11-Apr-08 4:13
Devkranth Kishore Vanja11-Apr-08 4:13 
GeneralRe: Datagrid Problem Pin
Herman<T>.Instance14-Apr-08 0:19
Herman<T>.Instance14-Apr-08 0:19 
GeneralRather bizarre databinding problem... Pin
RichardGrimmer11-Apr-08 3:49
RichardGrimmer11-Apr-08 3:49 
GeneralRe: Rather bizarre databinding problem... Pin
Brady Kelly11-Apr-08 5:10
Brady Kelly11-Apr-08 5:10 
QuestionCreating Multilingual Web page? Pin
Sam.M11-Apr-08 2:25
Sam.M11-Apr-08 2:25 
AnswerRe: Creating Multilingual Web page? Pin
its.rajendra11-Apr-08 2:46
its.rajendra11-Apr-08 2:46 
Generalsmtp.gmail.com Pin
Piyush Vardhan Singh11-Apr-08 2:18
Piyush Vardhan Singh11-Apr-08 2:18 
GeneralRe: smtp.gmail.com Pin
Sam.M11-Apr-08 2:26
Sam.M11-Apr-08 2:26 
GeneralRe: smtp.gmail.com Pin
Piyush Vardhan Singh11-Apr-08 2:29
Piyush Vardhan Singh11-Apr-08 2:29 
GeneralRe: smtp.gmail.com Pin
Sam.M11-Apr-08 2:31
Sam.M11-Apr-08 2:31 
GeneralRe: smtp.gmail.com Pin
Piyush Vardhan Singh11-Apr-08 2:37
Piyush Vardhan Singh11-Apr-08 2:37 
GeneralRe: smtp.gmail.com Pin
Piyush Vardhan Singh11-Apr-08 2:32
Piyush Vardhan Singh11-Apr-08 2:32 
GeneralRe: smtp.gmail.com Pin
Parwej Ahamad11-Apr-08 18:25
professionalParwej Ahamad11-Apr-08 18:25 
General'downloading an attachment file name changes when 2 dots(.) contained in filename' Pin
its.rajendra11-Apr-08 2:16
its.rajendra11-Apr-08 2:16 
GeneralRight Click event on image Pin
Imran Khan Pathan11-Apr-08 1:35
Imran Khan Pathan11-Apr-08 1:35 
GeneralRe: Right Click event on image Pin
Christian Graus11-Apr-08 1:38
protectorChristian Graus11-Apr-08 1:38 
GeneralDynamiclly radiobuttonlist Pin
Burim Rama11-Apr-08 1:08
Burim Rama11-Apr-08 1:08 
Hey
I have created a metode to create RadiobuttonList dynamically but when i show it in my page end i chec them to false or true and when i click the button all radiobutton is coming back to true.

I have a function to read wgat user have selected :
Hope i can help. her is som code to create radiobuttonlist:

foreach (DataRow dr in ds.Tables[0].Rows)
{

Label li = new Label();
System.Web.UI.WebControls.ListItem ls = new System.Web.UI.WebControls.ListItem();
RadioButtonList rl = new RadioButtonList();
rl.Items.Add(new System.Web.UI.WebControls.ListItem("Inkl", dr["Type"].ToString()));
rl.Items.Add(new System.Web.UI.WebControls.ListItem("Eks", dr["Type"].ToString()));

rl.RepeatDirection = RepeatDirection.Horizontal;
Panel2.Controls.Add(li);
Panel2.Controls.Add(rl); //tilføjer dem til panelet

}
then when i click a button hwo called checkthevalue, i called this metode:
foreach (Control cr in Panel2.Controls)
{
if (cr is RadioButtonList)
{
RadioButtonList rb = (RadioButtonList)cr;
foreach (System.Web.UI.WebControls.ListItem ls in rb.Items)
{
if (ls.Selected && rb.SelectedItem.Text == "Eks")
{
//this ad a line to pdf file
document.Add(new Paragraph("-" + rb.SelectedItem.Value.ToString(), FontFactory.GetFont(FontFactory.TIMES_ROMAN, 12)));
}
}
}
}

Hope i can help me.
GeneralQuestion Pin
nithydurai11-Apr-08 0:47
nithydurai11-Apr-08 0:47 
GeneralRe: Question Pin
J4amieC11-Apr-08 0:51
J4amieC11-Apr-08 0:51 
GeneralRe: Question Pin
eyeseetee11-Apr-08 0:55
eyeseetee11-Apr-08 0:55 
GeneralRe: Question Pin
Laddie11-Apr-08 1:00
Laddie11-Apr-08 1:00 
GeneralRe: Question Pin
Piyush Vardhan Singh11-Apr-08 2:08
Piyush Vardhan Singh11-Apr-08 2:08 
GeneralRe: Question Pin
Christian Graus11-Apr-08 1:35
protectorChristian Graus11-Apr-08 1:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.