Click here to Skip to main content
15,892,005 members

Comments by Warren Machanik (Top 5 by date)

Warren Machanik 26-Mar-13 14:45pm View    
Sorry in the delay in getting back, had not checked the answer as I have implemented a template field with a hyperlink that jumps to another page (and this works btw)

<asp:TemplateField>
<itemtemplate>
<asp:HyperLink ID="hlDelete" runat="server" Text="del"
NavigateUrl='<%# String.Format("~/Pages/DeleteOrderLine.aspx?OrderId={0}", Eval("OrderId")) %>'>




So after reading the above added an OnDeleteing routine, not quite sure why but had to be a in page <script> rather than a behind one.

If I get the eInputParameters there is a count of 1, I cannot see what the key is if I try access it as [" OrderID" or [1] or [0] it is null, not sure why.
Warren Machanik 26-Feb-13 9:54am View    
Thanks for the reply.

Query works fine, I normally "design" them in the SQL design view, that is a great feature wish it could create the data object.

I am getting errors attaching the object data source. Also in the class the CTRL+Space does not work properly so I have to check each command manually.
Warren Machanik 16-Jan-13 9:51am View    
I took the rendered code in the problem seems to be the way ASP renders the table.


<asp:Table ID="tblDeliveries" runat="server" CssClass="TblZebra" Width="100%" >
<asp:TableHeaderRow>
<asp:TableHeaderCell>By</asp:TableHeaderCell>
<asp:TableHeaderCell>To</asp:TableHeaderCell>
<asp:TableHeaderCell Width="90px">
Received By
</asp:TableHeaderCell>
<asp:TableHeaderCell Width="100px">
Signature
</asp:TableHeaderCell>
<asp:TableHeaderCell>
Items
</asp:TableHeaderCell>
<asp:TableHeaderCell>
In Stock
</asp:TableHeaderCell>
</asp:TableHeaderRow>
</asp:Table>


is rendered with a <tr> <th> and no <thead>, I played around and found that I need to make <asp:TableHeaderRow>
<asp:TableHeaderRow TableSection="TableHeader">

Then it fixes it in Firefox, IE is a mess though. Have not tried it in Opera
Warren Machanik 16-Jan-13 7:37am View    
Hi, your code does work, however when I place it in my code (I place the css and the onPrint code) into my code it does not work. I am not sure if it is related to the why ASP is rendering tables, I have even tried to use # in the CSS. What happens is that it places the thead road in a vertical table on top of the table. I am now using Firefox and IE to test. and it does that too.

I will try and debug using their browser debug tools to see why this is the case, but at the moment I am still stuck. Thanks for the help so far.
Warren Machanik 15-Jan-13 13:38pm View    
did not get this update, I will have to make significant changes to my code (since I assemble the table manually) then I can test, thanks. I could not see a reply button so did not know how to reply, so try the comment section.