Click here to Skip to main content
15,915,600 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerReturn image from aspx page [modified] Pin
#realJSOP30-Apr-10 3:50
professional#realJSOP30-Apr-10 3:50 
GeneralRe: Return image from aspx page Pin
daveyerwin30-Apr-10 4:40
daveyerwin30-Apr-10 4:40 
GeneralRe: Return image from aspx page Pin
#realJSOP30-Apr-10 4:52
professional#realJSOP30-Apr-10 4:52 
GeneralRe: Return image from aspx page Pin
Abhishek Sur30-Apr-10 6:01
professionalAbhishek Sur30-Apr-10 6:01 
GeneralRe: Return image from aspx page Pin
#realJSOP30-Apr-10 7:38
professional#realJSOP30-Apr-10 7:38 
GeneralRe: Return image from aspx page Pin
Abhishek Sur30-Apr-10 23:45
professionalAbhishek Sur30-Apr-10 23:45 
GeneralRe: Return image from aspx page Pin
#realJSOP1-May-10 0:46
professional#realJSOP1-May-10 0:46 
GeneralRe: Return image from aspx page Pin
Rama Krishna Vavilala30-Apr-10 10:03
Rama Krishna Vavilala30-Apr-10 10:03 
QuestionScreen view fixed to the Last row/item of the Gridview Pin
Sandesh M Patil30-Apr-10 3:49
Sandesh M Patil30-Apr-10 3:49 
AnswerRe: Screen view fixed to the Last row/item of the Gridview Pin
daveyerwin30-Apr-10 7:01
daveyerwin30-Apr-10 7:01 
GeneralRe: Screen view fixed to the Last row/item of the Gridview Pin
daveyerwin30-Apr-10 7:18
daveyerwin30-Apr-10 7:18 
QuestionAdding scriptManager tag to Non ajax enabled web application Pin
salmonraju30-Apr-10 2:15
salmonraju30-Apr-10 2:15 
AnswerRe: Adding scriptManager tag to Non ajax enabled web application Pin
Sandeep Mewara30-Apr-10 2:45
mveSandeep Mewara30-Apr-10 2:45 
GeneralRe: Adding scriptManager tag to Non ajax enabled web application Pin
salmonraju30-Apr-10 3:12
salmonraju30-Apr-10 3:12 
QuestionHow to hide Querystring Parameters Pin
Sandesh M Patil30-Apr-10 1:21
Sandesh M Patil30-Apr-10 1:21 
AnswerRe: How to hide Querystring Parameters Pin
DaveAuld30-Apr-10 1:31
professionalDaveAuld30-Apr-10 1:31 
AnswerRe: How to hide Querystring Parameters Pin
Dinesh Mani30-Apr-10 1:35
Dinesh Mani30-Apr-10 1:35 
AnswerRe: How to hide Querystring Parameters Pin
Brij30-Apr-10 1:38
mentorBrij30-Apr-10 1:38 
AnswerRe: How to hide Querystring Parameters Pin
daveyerwin30-Apr-10 4:11
daveyerwin30-Apr-10 4:11 
GeneralRe: How to hide Querystring Parameters Pin
Sandesh M Patil30-Apr-10 4:51
Sandesh M Patil30-Apr-10 4:51 
GeneralRe: How to hide Querystring Parameters Pin
daveyerwin30-Apr-10 11:57
daveyerwin30-Apr-10 11:57 
AnswerRe: How to hide Querystring Parameters Pin
Peace ON30-Apr-10 19:48
Peace ON30-Apr-10 19:48 
AnswerRe: How to hide Querystring Parameters Pin
Husain Ahmad Khalid2-May-10 1:33
Husain Ahmad Khalid2-May-10 1:33 
Questionasp:BoundField as link? Pin
lvq68430-Apr-10 1:11
lvq68430-Apr-10 1:11 
Hi.

I have this UpdatePanel with som boundfield content. In this panel (on every row), there is an edit link, which will edit the content. It works fine.

Now I want to make all the boundfields clickable as a link, so they act as the edit button for each row content. In that way, I dont have to click the edit button, but can click anywhere in the corresponding row to edit the content. (if only it is possible to make the content-text clickable, I guess thats ok too).

My code:


<asp:UpdatePanel ID="updatePanel" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="gvTasks" runat="server" OnRowCreated="gvTasks_RowCreated"
DataSourceID="odsTaskList" GridLines="None" AutoGenerateColumns="false"
CssClass="mGrid" PagerStyle-CssClass="pgr"AlternatingRowStyle-CssClass="alt"
OnSelectedIndexChanged="GvTasks_SelectedIndexChanged" DataKeyNames="ID">

<Columns>

<asp:BoundField DataField="Content" HeaderText="Content">
<HeaderStyle HorizontalAlign="Center" />
</asp:BoundField>

<asp:BoundField DataField="Enddate" HeaderText="Enddate">
<HeaderStyle HorizontalAlign="Center" />
</asp:BoundField>

<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="btnViewDetails" runat="server" Text="Edit" CommandName="Select" />
</ItemTemplate>
</asp:TemplateField>

<asp:TemplateField>
<ItemTemplate>
<asp:ImageButton ID="removeButton" runat="server" CommandArgument='<%# Eval( "id" ) >' OnCommand="removeButton_Click" ImageUrl="~/img/remove.gif" />
</ItemTemplate>
</asp:TemplateField>

</Columns>
</asp:GridView>
</ContentTemplate&>
</asp:UpdatePanel>



Hope you can help!
Thanks alot Smile | :)

// Sorry for the formatting, seems like code-project has a problem at the moment?!
AnswerRe: asp:BoundField as link? Pin
Shahriar Iqbal Chowdhury/Galib30-Apr-10 1:47
professionalShahriar Iqbal Chowdhury/Galib30-Apr-10 1:47 

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.