Click here to Skip to main content
15,887,485 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: function to get only one datarow Pin
uglyeyes18-Feb-08 16:25
uglyeyes18-Feb-08 16:25 
GeneralRe: function to get only one datarow Pin
Christian Graus18-Feb-08 17:29
protectorChristian Graus18-Feb-08 17:29 
QuestionHow do I allow members on my site to send/receive internal email s? Pin
aspmax18-Feb-08 12:41
aspmax18-Feb-08 12:41 
AnswerRe: How do I allow members on my site to send/receive internal email s? Pin
Christian Graus18-Feb-08 15:39
protectorChristian Graus18-Feb-08 15:39 
GeneralRe: How do I allow members on my site to send/receive internal email s? Pin
aspmax19-Feb-08 16:58
aspmax19-Feb-08 16:58 
Questionhow do i gather info from fields and pass it over to a member profile page? Pin
aspmax18-Feb-08 12:39
aspmax18-Feb-08 12:39 
QuestionHow to use LinkButton in GridView. Pin
Zeeshan Ahmed Memon18-Feb-08 6:35
Zeeshan Ahmed Memon18-Feb-08 6:35 
AnswerRe: How to use LinkButton in GridView. Pin
www.Developerof.NET18-Feb-08 7:48
www.Developerof.NET18-Feb-08 7:48 
Although i haven`t worked with a scnerio as above , I once designed a page where the grid contains a dropdownlist and on its selection change i had to get its index. Following is the code...

ASPX Page
....
....
<Columns>
<asp:TemplateColumn HeaderText="Action">
<ItemTemplate>
<asp:DropDownList id="DDAction" runat="server" OnSelectedIndexChanged="DropDown_SelectedIndexChanged"
AutoPostBack="True"></asp:DropDownList>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>

ASPX.CS

protected void DropDown_SelectedIndexChanged(object sender, EventArgs e)
{

DropDownList list = (DropDownList)sender;
TableCell cell = list.Parent as TableCell;
DataGridItem item = cell.Parent as DataGridItem;
i=item.ItemIndex;//you get the item index..
....
....

When you fail to plan, you are planning to fail.
GeneralPassing data from child page to parent page Pin
www.Developerof.NET18-Feb-08 6:04
www.Developerof.NET18-Feb-08 6:04 
AnswerRe: Passing data from child page to parent page Pin
ToddHileHoffer18-Feb-08 8:51
ToddHileHoffer18-Feb-08 8:51 
QuestionCan any one help to use this control? Pin
Arowne18-Feb-08 5:08
Arowne18-Feb-08 5:08 
AnswerRe: Can any one help to use this control? Pin
J a a n s18-Feb-08 5:13
professionalJ a a n s18-Feb-08 5:13 
AnswerRe: Can any one help to use this control? Pin
Christian Graus18-Feb-08 9:38
protectorChristian Graus18-Feb-08 9:38 
Generalgridview hyperlinkfield Pin
eyeseetee18-Feb-08 4:39
eyeseetee18-Feb-08 4:39 
GeneralRe: gridview hyperlinkfield Pin
J a a n s18-Feb-08 4:55
professionalJ a a n s18-Feb-08 4:55 
GeneralRe: gridview hyperlinkfield Pin
eyeseetee18-Feb-08 5:02
eyeseetee18-Feb-08 5:02 
GeneralRe: gridview hyperlinkfield Pin
J a a n s18-Feb-08 5:09
professionalJ a a n s18-Feb-08 5:09 
GeneralRe: gridview hyperlinkfield Pin
eyeseetee18-Feb-08 5:16
eyeseetee18-Feb-08 5:16 
GeneralRe: gridview hyperlinkfield Pin
J a a n s18-Feb-08 5:24
professionalJ a a n s18-Feb-08 5:24 
Questionhow can we add rows to a grid view and maintain data in it Pin
samerh18-Feb-08 3:01
samerh18-Feb-08 3:01 
AnswerRe: how can we add rows to a grid view and maintain data in it Pin
ToddHileHoffer18-Feb-08 8:53
ToddHileHoffer18-Feb-08 8:53 
Generalpass variable from gridview to next page Pin
eyeseetee18-Feb-08 2:34
eyeseetee18-Feb-08 2:34 
GeneralRe: pass variable from gridview to next page Pin
Imran Khan Pathan18-Feb-08 2:38
Imran Khan Pathan18-Feb-08 2:38 
GeneralRe: pass variable from gridview to next page Pin
eyeseetee18-Feb-08 3:12
eyeseetee18-Feb-08 3:12 
GeneralRe: pass variable from gridview to next page Pin
eyeseetee18-Feb-08 3:35
eyeseetee18-Feb-08 3: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.