Click here to Skip to main content
15,905,867 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Help retaining textbox values Pin
NetBot18-Feb-08 22:39
NetBot18-Feb-08 22:39 
GeneralWebservice Issue / Application Pool - Network Indentity Pin
thedom218-Feb-08 18:46
thedom218-Feb-08 18:46 
Questionhow this will be done Pin
jagan12318-Feb-08 17:01
jagan12318-Feb-08 17:01 
AnswerRe: how this will be done Pin
Christian Graus18-Feb-08 17:32
protectorChristian Graus18-Feb-08 17:32 
GeneralConvert HTML body content to image Pin
pritesh_patel18-Feb-08 16:58
pritesh_patel18-Feb-08 16:58 
GeneralConvert HTML body content to image Pin
pritesh_patel18-Feb-08 16:57
pritesh_patel18-Feb-08 16:57 
GeneralRe: Convert HTML body content to image Pin
Christian Graus18-Feb-08 17:31
protectorChristian Graus18-Feb-08 17:31 
GeneralRe: Convert HTML body content to image Pin
pritesh_patel18-Feb-08 17:40
pritesh_patel18-Feb-08 17:40 
GeneralRe: Convert HTML body content to image Pin
N a v a n e e t h18-Feb-08 21:35
N a v a n e e t h18-Feb-08 21:35 
General(VERY VERY URGENT!!!)Div alignment problem Pin
G.K.M.18-Feb-08 16:43
G.K.M.18-Feb-08 16:43 
GeneralRe: (VERY VERY URGENT!!!)Div alignment problem Pin
N a v a n e e t h18-Feb-08 19:07
N a v a n e e t h18-Feb-08 19:07 
GeneralRe: (VERY VERY URGENT!!!)Div alignment problem Pin
saini arun20-Feb-08 8:10
saini arun20-Feb-08 8:10 
Generallink multiple stored procedures to one gridview Pin
BORN...again!18-Feb-08 16:36
BORN...again!18-Feb-08 16:36 
GeneralRe: link multiple stored procedures to one gridview Pin
Christian Graus18-Feb-08 17:33
protectorChristian Graus18-Feb-08 17:33 
GeneralRe: link multiple stored procedures to one gridview Pin
BORN...again!19-Feb-08 18:11
BORN...again!19-Feb-08 18:11 
Generalfunction to get only one datarow Pin
uglyeyes18-Feb-08 15:48
uglyeyes18-Feb-08 15:48 
GeneralRe: function to get only one datarow Pin
Christian Graus18-Feb-08 15:57
protectorChristian Graus18-Feb-08 15:57 
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.

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.