Click here to Skip to main content
15,917,645 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: DataGrid Problem in Edit Pin
Chetan Ranpariya28-May-07 1:17
Chetan Ranpariya28-May-07 1:17 
GeneralRe: DataGrid Problem in Edit Pin
JosephWONG28-May-07 2:05
JosephWONG28-May-07 2:05 
AnswerRe: DataGrid Problem in Edit Pin
Sathesh Sakthivel28-May-07 2:14
Sathesh Sakthivel28-May-07 2:14 
GeneralRe: DataGrid Problem in Edit Pin
JosephWONG28-May-07 2:24
JosephWONG28-May-07 2:24 
GeneralRe: DataGrid Problem in Edit Pin
Sathesh Sakthivel28-May-07 3:02
Sathesh Sakthivel28-May-07 3:02 
GeneralRe: DataGrid Problem in Edit Pin
JosephWONG28-May-07 3:59
JosephWONG28-May-07 3:59 
GeneralRe: DataGrid Problem in Edit Pin
Sathesh Sakthivel28-May-07 4:02
Sathesh Sakthivel28-May-07 4:02 
GeneralRe: DataGrid Problem in Edit Pin
JosephWONG28-May-07 4:06
JosephWONG28-May-07 4:06 
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 

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.