Click here to Skip to main content
16,005,141 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to insert datas with comma in sql ??? Pin
deepthy.p.m20-May-09 18:46
deepthy.p.m20-May-09 18:46 
Questionuse of calender Pin
jainiraj20-May-09 18:07
jainiraj20-May-09 18:07 
AnswerRe: use of calender Pin
padmanabhan N20-May-09 18:20
padmanabhan N20-May-09 18:20 
GeneralRe: use of calender Pin
jainiraj22-May-09 1:02
jainiraj22-May-09 1:02 
Questioncheckbox Pin
jainiraj20-May-09 18:02
jainiraj20-May-09 18:02 
AnswerRe: checkbox Pin
padmanabhan N20-May-09 18:15
padmanabhan N20-May-09 18:15 
AnswerRe: checkbox Pin
Ramesh Swaminathan20-May-09 18:40
Ramesh Swaminathan20-May-09 18:40 
QuestionGridView Control - EditItemTemplate Controls Pin
Juvil John20-May-09 17:03
Juvil John20-May-09 17:03 
Hi, I have a grid, which has an ItemTemplate and an EditItemTemplate, my concern is how do I get the controls in the EditItemTemplate, my grid columns looked like this...

<asp:TemplateField HeaderText="Price Type" HeaderStyle-CssClass="first" SortExpression="PriceType"><br />
                        <ItemTemplate><br />
                            <asp:Label ID="lbl_pricingtype" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "PriceType[0].PriceTypeDesc[0].Description")%>'<br />
                                ToolTip='<%# DataBinder.Eval(Container.DataItem, "PriceType[0].PriceType")%>'></asp:Label><br />
                        </ItemTemplate><br />
                        <EditItemTemplate><br />
                            <asp:DropDownList ID="ddl_pricingtype" runat="server" CssClass="first" Width="90px" onchange="ddl_pricingtype_change(this.value)"><br />
                                <asp:ListItem Text="Please Select" Value="-1"></asp:ListItem><br />
                                <asp:ListItem Text="0 - Price1" Value="0"></asp:ListItem><br />
                                <asp:ListItem Text="1 - Price2" Value="1"></asp:ListItem><br />
                                <asp:ListItem Text="2 - Price3" Value="2"></asp:ListItem><br />
                            </asp:DropDownList><br />
                        </EditItemTemplate><br />
                        <HeaderStyle CssClass="first" /><br />
                        <ItemStyle CssClass="first" /><br />
                    </asp:TemplateField>


Now I can get the value from the ItemTemplate label using OnRowEditing event but I can't seem to find the Dropdownlist control to set the selecteditem.
AnswerRe: GridView Control - EditItemTemplate Controls Pin
padmanabhan N20-May-09 18:28
padmanabhan N20-May-09 18:28 
GeneralRe: GridView Control - EditItemTemplate Controls Pin
Juvil John20-May-09 18:29
Juvil John20-May-09 18:29 
GeneralRe: GridView Control - EditItemTemplate Controls Pin
padmanabhan N20-May-09 18:37
padmanabhan N20-May-09 18:37 
GeneralRe: GridView Control - EditItemTemplate Controls Pin
Juvil John20-May-09 18:38
Juvil John20-May-09 18:38 
GeneralRe: GridView Control - EditItemTemplate Controls Pin
padmanabhan N20-May-09 18:44
padmanabhan N20-May-09 18:44 
QuestionProblem with ScriptManager.RegisterStartupScript Pin
sarang_k20-May-09 16:59
sarang_k20-May-09 16:59 
AnswerRe: Problem with ScriptManager.RegisterStartupScript Pin
padmanabhan N20-May-09 18:43
padmanabhan N20-May-09 18:43 
QuestionGlobal Coding Standard Pin
Civic0620-May-09 15:01
Civic0620-May-09 15:01 
AnswerRe: Global Coding Standard Pin
Yusuf20-May-09 15:56
Yusuf20-May-09 15:56 
GeneralRe: Global Coding Standard Pin
Civic0620-May-09 17:29
Civic0620-May-09 17:29 
QuestionReorder List with ASP.Net in c# Pin
mahichandu20-May-09 11:30
mahichandu20-May-09 11:30 
AnswerRe: Reorder List with ASP.Net in c# Pin
Yusuf20-May-09 16:05
Yusuf20-May-09 16:05 
QuestionRe: Reorder List with ASP.Net in c# [modified] Pin
mahichandu21-May-09 2:34
mahichandu21-May-09 2:34 
QuestionSelect all the records with Linq Query Pin
hahii20-May-09 9:57
hahii20-May-09 9:57 
AnswerRe: Select all the records with Linq Query Pin
padmanabhan N20-May-09 18:49
padmanabhan N20-May-09 18:49 
QuestionProblem with unicode characters Pin
gottimukkala20-May-09 4:44
gottimukkala20-May-09 4:44 
AnswerRe: Problem with unicode characters Pin
MidwestLimey20-May-09 5:20
professionalMidwestLimey20-May-09 5:20 

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.