|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
HyperLink column datagridfine. This column is also a primary key for that table. Problem on hand: When user click on a particular value (row) in that column a new window should open as a MS Word document (since that record should refer to that document). What I have so far is this. When user clicks on the link a new window opens as a windows explorer. What I want to do is this when user clicks on it, then it should open up that document. The document name should be primarykey.doc For example, Hyperlink column = 1019 Document Name = 1019.doc Currently all documents located on local drive & I'm thinking to move them to webserver. Any suggestion would be highly appreciated. Thanks aspnetpal wrote:
Show quoteHide quote > Hi every1, I have a hyperlink column in the datagrid and it is working Just set these properties for the hyperlink column:> fine. > This column is also a primary key for that table. > > Problem on hand: > When user click on a particular value (row) in that column a new > window should open as a MS Word document (since that record should > refer to that document). > > What I have so far is this. > When user clicks on the link a new window opens as a windows explorer. > What I want to do is this when user clicks on it, then it should open > up that document. The document name should be primarykey.doc > For example, > > Hyperlink column = 1019 > > Document Name = 1019.doc > > Currently all documents located on local drive & I'm thinking to move > them to webserver. > > Any suggestion would be highly appreciated. DataNavigateUrlFormatString="{0}.doc" Target="_blank" That's it. -- Riki
"parent / child" datagrids
Datagrid ... pain .... HELP! Problem with datagrid update CancelCommand Not Firing! problem updating in datagrid ?? How to refresh a parent grid? Set column names to template grid at runtime Hyperlink Column Event Handler... Datagrid Footer now showing up correctly selection of fields in datatable for Datagrid |
|||||||||||||||||||||||