M
Mark
hi,
i have a user control that generates a table with a url in each cell.
when the url in the cell is clicked i'd like it post information back
to same control. i'm not sure how to do this. i've looked at the
javascript __do_postback method, but i'm not sure how to do this and
keep the Request Params.
Thanks for any help,
Code:
output+="\t\n<td><a href=\"BookingsDisplay.aspx?Date="+Booking_date+"&Room="+arrayRooms[col-2].ToString()+"&Period="+row+"\">Book
Room</a></td>";
Control:
<%@ Control Language="c#" AutoEventWireup="false"
Codebehind="ShowBookings.ascx.cs"
Inherits="IceSky.Modules.RoomBooking.ShowBookings"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<table id="ShowBookings" border="1">
<%# output %>
</table>
i have a user control that generates a table with a url in each cell.
when the url in the cell is clicked i'd like it post information back
to same control. i'm not sure how to do this. i've looked at the
javascript __do_postback method, but i'm not sure how to do this and
keep the Request Params.
Thanks for any help,
Code:
output+="\t\n<td><a href=\"BookingsDisplay.aspx?Date="+Booking_date+"&Room="+arrayRooms[col-2].ToString()+"&Period="+row+"\">Book
Room</a></td>";
Control:
<%@ Control Language="c#" AutoEventWireup="false"
Codebehind="ShowBookings.ascx.cs"
Inherits="IceSky.Modules.RoomBooking.ShowBookings"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<table id="ShowBookings" border="1">
<%# output %>
</table>