Click here to Skip to main content
15,914,165 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Generaliunno Pin
jer marshall11-Dec-07 8:24
jer marshall11-Dec-07 8:24 
GeneralRe: iunno Pin
Pete O'Hanlon11-Dec-07 11:06
mvePete O'Hanlon11-Dec-07 11:06 
GeneralRe: iunno Pin
Christian Graus11-Dec-07 13:30
protectorChristian Graus11-Dec-07 13:30 
GeneralRe: iunno Pin
Pete O'Hanlon11-Dec-07 21:55
mvePete O'Hanlon11-Dec-07 21:55 
QuestionGridView on MultiView / View with MenuItems to change Views - the problem Pin
Member 470022511-Dec-07 8:01
Member 470022511-Dec-07 8:01 
GeneralRe: GridView on MultiView / View with MenuItems to change Views - the problem Pin
Michael Sync11-Dec-07 16:33
Michael Sync11-Dec-07 16:33 
AnswerRe: GridView on MultiView / View with MenuItems to change Views - the problem Pin
Member 470022511-Dec-07 19:36
Member 470022511-Dec-07 19:36 
QuestionHow to use a datagrid in a user control Pin
mastoj11-Dec-07 5:44
mastoj11-Dec-07 5:44 
First time here and I hope to get lucky Smile | :)
I have a really strange problem. My problem is that I can't add a DataGrid to a user control. When I have the code below in a control and register it in web.config it won't show up in the intellisense. If I comment out the DataGrid it works fine. The codebehind is empty.

I register the control in the web.config, but that shouldn't matter.

<code>

<![CDATA[<%@ Control Language="C#" AutoEventWireup="true" Codebehind="EBHObjectListFileControl.ascx.cs"
Inherits="EBHPresentation.Templates.Webcontrols.EBHObjectListFileControl" %>]]>
<asp:datagrid id="DataGridFileList" runat="server" onitemcommand="DataGridFileList_ItemCommand">
Font-Size="Small" ShowHeader="false" AutoGenerateColumns="false"&gt;
<columns>
<asp:boundcolumn datafield="Id" visible="false" />
<asp:boundcolumn datafield="FileName1" visible="false" />
<asp:boundcolumn datafield="Date" visible="true" />
<asp:templatecolumn>
<itemtemplate>
<asp:linkbutton id="LinkButtonOpenDocument" commandname="OpenFile" runat="server">
&lt;%# DataBinder.Eval(Container.DataItem, "FileName2") %&gt;
</asp:linkbutton>
</itemtemplate>
</asp:templatecolumn>
<asp:templatecolumn>
<itemtemplate>
<asp:imagebutton id="ImageButtonDocumentDelete" commandname="DeleteFile" runat="server">
ImageUrl="../images/delete.gif" OnClientClick="if(!confirm('message')) return;" /&gt;
</asp:imagebutton></itemtemplate>
</asp:templatecolumn>
</columns>
</asp:datagrid>
</code>

Thanks and regards,
--Tomas Jansson
GeneralRe: How to use a datagrid in a user control Pin
Michael Sync11-Dec-07 16:46
Michael Sync11-Dec-07 16:46 
GeneralRe: How to use a datagrid in a user control Pin
mastoj11-Dec-07 19:23
mastoj11-Dec-07 19:23 
GeneralRe: How to use a datagrid in a user control Pin
Michael Sync11-Dec-07 19:42
Michael Sync11-Dec-07 19:42 
GeneralRe: How to use a datagrid in a user control Pin
mastoj11-Dec-07 20:00
mastoj11-Dec-07 20:00 
GeneralRe: How to use a datagrid in a user control Pin
Michael Sync11-Dec-07 20:09
Michael Sync11-Dec-07 20:09 
QuestionLinkbutton Accesskey Pin
vincyjinoy11-Dec-07 4:54
vincyjinoy11-Dec-07 4:54 
GeneralRe: Linkbutton Accesskey Pin
Michael Sync11-Dec-07 16:42
Michael Sync11-Dec-07 16:42 
GeneralInternet Explorer needs to resend the information you've previously submitted Pin
samerh11-Dec-07 3:32
samerh11-Dec-07 3:32 
GeneralRe: Internet Explorer needs to resend the information you've previously submitted Pin
Michael Sync11-Dec-07 16:52
Michael Sync11-Dec-07 16:52 
GeneralRe: Internet Explorer needs to resend the information you've previously submitted Pin
samerh11-Dec-07 19:04
samerh11-Dec-07 19:04 
GeneralRe: Internet Explorer needs to resend the information you've previously submitted Pin
Michael Sync11-Dec-07 19:50
Michael Sync11-Dec-07 19:50 
GeneralRe: Internet Explorer needs to resend the information you've previously submitted Pin
samerh11-Dec-07 20:05
samerh11-Dec-07 20:05 
QuestionHow To Call C# Function From JavaScript Pin
mrgaddam11-Dec-07 3:13
mrgaddam11-Dec-07 3:13 
AnswerRe: How To Call C# Function From JavaScript Pin
RichardGrimmer11-Dec-07 5:17
RichardGrimmer11-Dec-07 5:17 
GeneralRe: How To Call C# Function From JavaScript Pin
YeHtut11-Dec-07 16:24
YeHtut11-Dec-07 16:24 
GeneralRe: How To Call C# Function From JavaScript Pin
Michael Sync11-Dec-07 17:08
Michael Sync11-Dec-07 17:08 
AnswerRe: How To Call C# Function From JavaScript Pin
Sun Rays11-Dec-07 18:47
Sun Rays11-Dec-07 18: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.