I have this code to add a hyperlink to a table cell.
The output of it would be multiple hyperlink in a single row. But the hyperlink is too close to each other, how can I add spaces between the hyperlink? The example in this line did it, but the empty spaces become part of the hyperlink, which I dont want.
The Ajax control toolkit tab panel automatically inserts a space by all four corners of the body. For example, go to http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Tabs/Tabs.aspx and look at the TabPanel on the page. The is a space before "Signature:" and "Bio:" labels. How can I set the space-width to 0px; in the tabPanel body?
I have two applications that I've switched out the Hyperlink control for ImageButtons to avoid the problem with URLs/Hyperlink controls and the development environment.Start options of both applications are identical.Web.config of both applications are identical with the exceptions of StyleSheetTheme and defaultUrl.Contents of skin file and css file of both applications are identical.The instances sited below are the ONLY places in the code where the imagebutton is addressed.It is created in the asp.net code and then has an "onClick" attribute set in the VB code behind.NO REFERENCES ANY OTHER PLACE.Why does Application #1 generate the additional code of:
I have 10 hyperlink controls. Depending on which hyperlink is pressed I want to pass a value to the target page. I think the easiest way would be to pass the value using URL of the hyperlink controls. Something like <asp:HyperLink ID="HyperLink1" NavigateUrl="~/News.aspx?id=>. I can pass just a value, but I want to pass a value from a variable.
I'm trying to code a pop-up box using the hyperlink control because I want to control the visibility of this control from my .cs file, I have a working code using the standard HTML link control however when I tried using the hyperlink control, it doesn't work at all.
somehow my page reads the "Eval" line as pure text and doesnt pass the 'NewId' gotten from my enum into it.
I have a radiobuttonlist control on my control, where the datasource is a collection, and I am using the DataTextFormatString to set the text field to a hyperlink. All this bit works, but where I am struggling to work is to add to the url path the value from the datavaluefield. Nothing I try works! Does anyone know how to set the datavaluefield into the url? Further, and one last question, my radiobuttonlist control is in a wizard step, and when the user clicks on a hyperlink, I want it to go on to the next step, all that is happening is that the link is going back to the first step.
I have created a Gridview and as part of the GridView I have created an ItemTemplate which has a HyperLink field. I would like the user to possibly select a different hyperlink for each row in the Grid. I have tried using the FileUpload Control and getting the Posted.FileName property and setting this but to no avail.
I have a datalist that displays text which links to another page. Depending on which value is selected the data shows the relevant data for the selected record. Using the code below I have tried to insert the 'RecId' value into the url to get the correct data but I get an error because the syntax is wrong.