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

ASP.NET

 
AnswerRe: ListView EditTemplate Pin
Reza Ahmadi7-Apr-12 8:16
Reza Ahmadi7-Apr-12 8:16 
AnswerRe: ListView EditTemplate Pin
Angel13209-Apr-12 21:20
Angel13209-Apr-12 21:20 
GeneralRe: ListView EditTemplate Pin
indian14310-Apr-12 6:43
indian14310-Apr-12 6:43 
Questionword popularity Pin
Jassim Rahma6-Apr-12 6:41
Jassim Rahma6-Apr-12 6:41 
AnswerRe: word popularity Pin
Eddy Vluggen6-Apr-12 7:43
professionalEddy Vluggen6-Apr-12 7:43 
QuestionCross Domain Contact Us Page Pin
shahid11295-Apr-12 21:11
shahid11295-Apr-12 21:11 
AnswerRe: Cross Domain Contact Us Page Pin
R. Giskard Reventlov6-Apr-12 15:07
R. Giskard Reventlov6-Apr-12 15:07 
QuestionGridview inside dropdownlist selected index change load the other control values Pin
Member 84256095-Apr-12 21:00
Member 84256095-Apr-12 21:00 
XML
<asp:DataList ID="dlCoordinates" runat="server" RepeatColumns="2" Width="730px" OnItemDataBound="dlCoordinates_ItemDataBound"
                                OnItemCommand="dlCoordinates_ItemCommand">
                                <ItemTemplate>
                                    <div class="left-block">
                                        <div class="pro-title pink">
                                            Co -ordinate
                                            <%--<%# Eval("ProductName")%>--%>
                                        </div>
                                        <div class="left">
                                            <asp:Image ID="imgCoordinates" runat="server" ImageUrl='<%# "~/Uploads/ThumbImage/"+Eval("BigImage") %>' />
                                            <asp:HiddenField ID="hdnIdProduct" runat="server" Value='<%# Eval("IdProduct") %>' />
                                        </div>
                                        <div class="right">
                                            <div class="block1">
                                                <p>
                                                    <span id="spanCoProductDesc" runat="server">
                                                        <%# Eval("ProductDesc") %></span></p>
                                            </div>
                                            <div class="block1">
                                                <h3 class="pink">
                                                    Click swatch to view colours</h3>
                                                <div id="divCoSwatch" runat="server" class="color-box">
                                                </div>
                                            </div>
                                            <div class="block1">
                                                <h3>
                                                    Price: <span id="spanCoProductPrice" runat="server" class="pink">Rs
                                                        <%# Eval("Price") %></span></h3>
                                            </div>
                                            <div class="block1">
                                                <asp:DropDownList ID="ddlCoColours" runat="server" CssClass="select-1"
                                                    AutoPostBack="true" onselectedindexchanged="ddlCoColours_SelectedIndexChanged">
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="ddlCoSize" runat="server" CssClass="select-2" AutoPostBack="true">
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="ddlCoQuantity" runat="server" CssClass="select-3">
                                                </asp:DropDownList>
                                                <br clear="all" />
                                                <asp:Button ID="btnCoFavorites" runat="server" CssClass="white-buton" Text="Favourites" />
                                                <asp:Button ID="btnCoAddtoBag" runat="server" CssClass="pink-buton" Text="Add to bag" />
                                            </div>
                                        </div>
                                    </div>
                                </ItemTemplate>
                            </asp:DataList>



This is my Grid view. Here i am loading the ddlcocolor drop down values in the row databound.
Now my problem is when inside the grid drop down change i want to load next drop down values..

How can i find the controls.
I tried the following concepts :
1.GridViewRow gvr = ((DropDownList)sender).Parent as GridViewRow;

2. GridViewRow gvr = (GridViewRow)(((Control)sender).NamingContainer);

But its returns the null values only.
Please help me.. its very urgent.

With Regards,
Prabhu R
AnswerRe: Gridview inside dropdownlist selected index change load the other control values Pin
Reza Ahmadi8-Apr-12 0:37
Reza Ahmadi8-Apr-12 0:37 
QuestionData control of this Discussions page Pin
samathabheemanathini5-Apr-12 20:30
samathabheemanathini5-Apr-12 20:30 
QuestionImages not appearing with httpwebrequest and firewall Pin
Kamal Rayaguru5-Apr-12 18:57
Kamal Rayaguru5-Apr-12 18:57 
QuestionStarting with Asp.net website Pin
Atefjob5-Apr-12 14:18
Atefjob5-Apr-12 14:18 
AnswerRe: Starting with Asp.net website Pin
Abhinav S5-Apr-12 20:09
Abhinav S5-Apr-12 20:09 
AnswerRe: Starting with Asp.net website Pin
Syed Zoheb Ali Sumair16-Apr-12 5:51
Syed Zoheb Ali Sumair16-Apr-12 5:51 
QuestionListView Control loosing all items in it Pin
indian1435-Apr-12 11:52
indian1435-Apr-12 11:52 
AnswerRe: ListView Control loosing all items in it Pin
jkirkerx5-Apr-12 12:43
professionaljkirkerx5-Apr-12 12:43 
GeneralRe: ListView Control loosing all items in it Pin
vvashishta24-Apr-12 19:33
vvashishta24-Apr-12 19:33 
QuestionDatabinding Ajax Control Toolkit Rating Control Pin
Mahesha9995-Apr-12 9:40
Mahesha9995-Apr-12 9:40 
QuestionHiding values on page Pin
MacIntyre5-Apr-12 7:05
MacIntyre5-Apr-12 7:05 
QuestionRe: Hiding values on page Pin
Eddy Vluggen5-Apr-12 8:20
professionalEddy Vluggen5-Apr-12 8:20 
AnswerRe: Hiding values on page Pin
MacIntyre5-Apr-12 8:55
MacIntyre5-Apr-12 8:55 
AnswerRe: Hiding values on page Pin
jkirkerx5-Apr-12 10:44
professionaljkirkerx5-Apr-12 10:44 
AnswerRe: Hiding values on page Pin
vvashishta24-Apr-12 19:37
vvashishta24-Apr-12 19:37 
QuestionHow to retrieve photos from album from picassa in asp.net Pin
premagavarawad5-Apr-12 2:14
premagavarawad5-Apr-12 2:14 
Questiondevexpress and webmodalanchor Pin
tomorrow_ft5-Apr-12 2:07
tomorrow_ft5-Apr-12 2:07 

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.