Click here to Skip to main content
15,902,636 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: DataGrid Problem in Edit Pin
Sathesh Sakthivel28-May-07 4:26
Sathesh Sakthivel28-May-07 4:26 
GeneralRe: DataGrid Problem in Edit Pin
JosephWONG28-May-07 4:35
JosephWONG28-May-07 4:35 
GeneralRe: DataGrid Problem in Edit Pin
Sathesh Sakthivel28-May-07 15:40
Sathesh Sakthivel28-May-07 15:40 
GeneralRe: DataGrid Problem in Edit Pin
JosephWONG30-May-07 17:32
JosephWONG30-May-07 17:32 
GeneralRe: DataGrid Problem in Edit Pin
JosephWONG30-May-07 17:32
JosephWONG30-May-07 17:32 
QuestionaspSmartUpload error '800a0009' Pin
Anurag Gandhi28-May-07 1:03
professionalAnurag Gandhi28-May-07 1:03 
AnswerRe: aspSmartUpload error '800a0009' Pin
Christian Graus28-May-07 1:11
protectorChristian Graus28-May-07 1:11 
Questiondropdownlist + gridview Pin
ritu432128-May-07 0:36
ritu432128-May-07 0:36 
i am having a gridview in which i have a dropdown which is populating from the database on gridviews row created event . i want to show the default first row as select in the dropdownlist .How to do this


i did
<asp:DropDownList ID="DropDowmFormGroup" Width="100px"
runat="server" OnSelectedIndexChanged="DropDowmFormGroup_SelectedIndexChanged"><asp:ListItem Text="Select One"></asp:ListItem>


protected void DropDowmFormGroup_SelectedIndexChanged(object sender, EventArgs e)
{
foreach (GridViewRow gvr in GrdFormType.Rows)
{
maintainance m = new maintainance();
DataSet dsFormTypeForDropDown = new DataSet();
dsFormTypeForDropDown = m.Get_Form_Group();


if(gvr.RowType ==DataControlRowType.Footer)
{
DropDownList ddl = (DropDownList)gvr.FindControl
("DropDowmFormGroup");

ddl.DataSource = dsFormTypeForDropDown;
ddl.DataTextField = "Group_Name";
ddl.DataValueField = "Form_Group_ID";

ddl.DataBind();

}

}


}
but my this event is not firing on dropdownlist .

please help me out. Unsure | :~ Unsure | :~ Unsure | :~ WTF | :WTF: WTF | :WTF: WTF | :WTF:

thanx .
AnswerRe: dropdownlist + gridview Pin
Sherin Iranimose28-May-07 1:35
Sherin Iranimose28-May-07 1:35 
GeneralRe: dropdownlist + gridview Pin
ritu432128-May-07 1:42
ritu432128-May-07 1:42 
AnswerRe: dropdownlist + gridview Pin
Sathesh Sakthivel28-May-07 2:16
Sathesh Sakthivel28-May-07 2:16 
GeneralRe: dropdownlist + gridview Pin
ritu432128-May-07 2:58
ritu432128-May-07 2:58 
GeneralRe: dropdownlist + gridview Pin
Sathesh Sakthivel28-May-07 3:01
Sathesh Sakthivel28-May-07 3:01 
GeneralRe: dropdownlist + gridview Pin
ritu432128-May-07 3:04
ritu432128-May-07 3:04 
GeneralRe: dropdownlist + gridview Pin
Sathesh Sakthivel28-May-07 3:09
Sathesh Sakthivel28-May-07 3:09 
GeneralRe: dropdownlist + gridview Pin
ritu432128-May-07 3:48
ritu432128-May-07 3:48 
GeneralRe: dropdownlist + gridview Pin
Sathesh Sakthivel28-May-07 4:03
Sathesh Sakthivel28-May-07 4:03 
Questionretrieve data problems Pin
ahsan201128-May-07 0:36
ahsan201128-May-07 0:36 
AnswerRe: retrieve data problems Pin
Kunal P28-May-07 2:34
Kunal P28-May-07 2:34 
Questionswitch http to https [modified] Pin
srinandan..28-May-07 0:18
srinandan..28-May-07 0:18 
AnswerRe: switch http to https Pin
N a v a n e e t h28-May-07 0:36
N a v a n e e t h28-May-07 0:36 
QuestionServer Error in '/' Application. Pin
DKalepu27-May-07 23:59
DKalepu27-May-07 23:59 
AnswerRe: Server Error in '/' Application. Pin
DavidNohejl28-May-07 2:21
DavidNohejl28-May-07 2:21 
GeneralRe: Server Error in '/' Application. Pin
DKalepu28-May-07 19:28
DKalepu28-May-07 19:28 
Questionselected item deletion from listbox Pin
regin27-May-07 23:44
regin27-May-07 23:44 

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.