Rank: Member Groups: Member
 
 
Joined: 10/13/2009 Posts: 14 
	 | 
		   
	     
		    I have a grid that contains several columns.  One column of the grid has data but is also a link to another .aspx page.  Using the DataFormat property in the column "op" of the grid, I have the following:  <a href='FlowExceptionsDetail.aspx?id={0}'>{0}</a> 
  I have decided that I need to pass another parameter in the statement along w/ the op, HOWEVER, the additional parameter is NOT part of the grid itself, rather it is a datepicker field above the grid.   I want to pass the date that is selecteddate of the datepicker.  The whole screen is nothing more than a datepicker and a grid.  Would I use something like:
  <a href='FlowExceptionsDetail.aspx?id={0}&id2={1}'>{0}</a> 
  If so, how do I designate the "id2={1}" means to pass the "this.dpEffDate.SelectedDate" value??? 
		 
	 | 
	
		Rank: Administration Groups: Administration
 
 
Joined: 5/27/2007 Posts: 24,427 
	 | 
		   
	     
		    Hi,
  You won't be able to have id2={1} in your format string. There are two options to get around that. The first option is to reload the Grid with {1} already filled in. The second option is to use a CustomColumn. With a CustomColumn you can handle the columns' ClientSideGetText with JavaScript code. That way you can put anything you like in it.
  Thanks!
		 
	 |