Forms Data Controls :: Links Dont Work
May 6, 2010
In the below code I have data displayed in the webform in a datagrid which has links in it.when I click the link of seperate order or property number they dont work.
<asp:Repeater ID="rptClientBooking" runat="server" OnItemDataBound="rptClientBooking_ItemBound">
<ItemTemplate>
<tr> [code]....
View 5 Replies
Similar Messages:
May 11, 2010
I have a panel which displays data on selected criteris with the followin columns Confirmationnumber fromdate todate propertynumber now the data which is in the confirmation number is a hyperlink which when clicked should be directed to the page with that particular confirmation number and similarly the property number is a hyperlink which should be directed to that property number page when clicked I dont know how to give the link to it
<tr>
<td>
<exact:RepeatableRadioButton ID="rbtSelector" OnCheckedChanged="rbtSelector_Changed"
[code]...
View 6 Replies
Feb 27, 2010
my query is like this " select product_id, product_price, purchase_amout from purcases"
and on my formview i tried to add a "total purchase"
i tried using <asp:Label ID="total_purchase" runat="server" Text='<%# string.format(cint(eval("product_price")*eval("purchase_amout")),"{ Rp 0:###,###,###,###,###}")%>'>
the total amount show the correct calculation result, but the string format dont work.... so it display 20000 instead of Rp 20,000
btw. "Rp" is the currency symbol in my country... i dont use {0:c} coz the server user US currency
View 4 Replies
Mar 15, 2011
i have a gridview.one column of this gridview is a number of 13 caracter.(its a concatenation of a value of 7 caracter ,a zero ,4 caracter and the chekcksum value)i have a button to insert a new row in the gridview.when i add the row the field show 12 caracter and not 13 caracter so the ZERO is not shown and not inserted and i dont know why.i tried in another page to concatenate and it works but in the page with gridview it dontthere's my code
[Code]....
[Code]....
[Code]....
[Code]....
View 6 Replies
Mar 23, 2010
I wonder what the right way is to set write permission on a Folder.I am in the properties for the folder I want to set write permissions to. The folder is named "Folder1"Now when I click the "SecurityTab", I can see a listbox there wich grayed out checkboxes for "Allow" and all of these are Checked, then to the right I have unchecked checkboxes for "Deny".I wonder if this is correct now, that "Folder1" has write permissions because this line execute that access is denied to "Folder1" ?
Directory.Move(Server.MapPath(sourcePath), Server.MapPath(destPath));
View 8 Replies
Apr 9, 2010
I'm trying to work with HandleError attribute in a MVC2 application and found some weird feature.When you create a new project and choose "ASP NET MVC2 Web Application" (the one that comes with Home and Account suppport) the following code works well:
[Code]....
I believe that is a configuration issue, but I don't kwon how search about.Anyone has an explanation for this?
View 7 Replies
Nov 19, 2010
I have a series of LinkButtons on my masterpage as follows:
<div id="mainNav" runat="server" class="mainnavigation">
<ul>
<li>
<asp:LinkButton ID="lnkHome"
[Code].....
I have simple click events defined for them, like this:
protected void lnkReports_Click(object sender, EventArgs e)
{
Response.Redirect("~/Administrators/Reports.aspx");
}
On any page that uses this masterpage, whether it is in a subfolder or directly at root level with the masterpage, these links don't work in any browser I have except for IE (Firefox, Chrome, Opera, and Safari). By that, I mean:
1. When I mouse over them, the cursor doesn't change to a hand.
2. When I click, nothing happens visually.
3. When I click, nothing happens in code. i.e., I set a breakpoint on the click events for the buttons, and they don't get hit.
In IE, everything works as it should.
In addition, I have subnavigation on some of my child pages, implemented the same way, and it works for all browsers.
<div id="mainNav" runat="server">
View 10 Replies
Oct 6, 2010
i hv a table in ms-access that have a column in datetime format.when i add data to this field it get stored in the format dd/mm/yy with time as 12.00.00 am.i m binding this data in grid view.hw can i remove the time from the date as i dont wanna show time in the that column of grid view. i m binding the data in gridview by the template field binding methods
View 6 Replies
Feb 8, 2010
I have a website that is working fine on my PC.
[Code]....
same link on prodaction server is not working.
The responce i get is 404
this is the url:
[URL]
as you can seee it is under a subdomain
View 6 Replies
Feb 19, 2010
I'm having a little trouble with the asp:MenuItem and Google's Chrome. Basically, when using just an ImageUrl (i.e. no text) the links don't work in Chrome. Here's my code
<asp:Menu ID="LeftNaviMenu" runat="server" Height="100%" Width="109px">
View 4 Replies
Feb 14, 2011
I have been adding different JQuery Carousels to AJAX Tabbed Panels - the first one displayed on the page always works. But any other tabs dont work when I select the tab. I have about a dozen different carousels.
Can anyone recommend one that works in AJAX Tabs or how I can go about rectifying this?
View 1 Replies
May 7, 2010
I have a problem with DetailsView linked with Database, DetailsView is Insert/Edit enabled, and adding/ediditng data works, however........ when I add a new record (DetailsView in Insert mode) and press INSET instead going to record I have just created in Read-Only Mode it shows me blank form, it looks that the "linking" field is null.
View 3 Replies
Dec 4, 2010
Sp is :-
ALTER PROC [Admin].[sp_Ques]
(
@QuesID bigint [code]...
SELECT Language FROM Admin.Language WHERE LanguageID=FQ.LanguageID
END
In the 2nd Select statement ie
SELECT Language FROM Admin.Language WHERE LanguageID=FQ.LanguageID
In this statement, I want the value of "FQ.LanguageID" from 1st select statement, so I wrote this:- LanguageID=FQ.LanguageID
apparently didn't work..it says "The multi-part identifier "FQ.LanguageID" could not be bound." Do I need to pass this LanguageID to the SP as a parameter and then use it as:-SELECT Language FROM Admin.Language WHERE LanguageID=@LanguageID
How can i make this LanguageID=FQ.LanguageID work if I dont want to pass LanguageID as 2nd argumnet to the SP ?
View 2 Replies
Jun 15, 2010
I want to retrieve values from a function at regular intervals and display it.I have two different fucntions 1 for getting values and 1 for display.I am using backgroundworker for that.
So when i put continous loop it goes into infinite loop without displaying data.The problem is with asp.net ..
What have i done is
public void backgroundWorker1_DoWork(object sender, System.ComponentModel.DoWorkEventArgs
e)
{
if (this.backgroundWorker1 == [code]...
Now until it doesnot come out of DoWork method if doenot display data eventhought it called Display_data() method.
I removed whilke(1=1) and checked that after exiting DoWork method it displays data.
So is there any way that after data binding in Display_Data() method i can display data and then refresh the whole process at backend ?
View 2 Replies
Feb 19, 2010
I have a intranet site with Windows Authentication. I have 'Administrator' pages in an 'Administrator' folder that will only show for those in the admin group (windows security group) These pages work
I have a folder with sub folders containing reports. These permissions are broken down for each type of report. They have similar role priveleges. When I test the application, I can navigate to the pages. When I deploy the site live on the intranet the links don't return a page. Error missing link 404. Do I need to set something in IIS?
View 1 Replies
Dec 13, 2010
I have a webapp. use links with DB data and link this data to a masterpage side?
View 2 Replies
Jan 14, 2010
Using a GridView to display unique website department names from a database table, is it possible to create a hyperlink in the GridView to that specific departments page? I'm a beginner and haven't found any examples so unsure as to how this would be accomplished.
View 8 Replies
Jan 12, 2010
I need to disable the edit command link if a record has links to other records within the tables.
I have a table that has worktype and that is captured when certain records are entered. So if a record exists with that value, then i want to disable the "Edit" link for that record within my gridview.
I want to provide them access to add more worktypes, but if they want to edit a worktype, i need to make sure its not used anywhere in the other tables, before they can edit it. For now atleast, because i will need to allow full editing and deletion functions for this table. how to do this or maybe suggestions on other things i can do to give them full functionality?
View 3 Replies
Nov 29, 2010
I have a Bar Chart being driven by the user search criteria. Is it possible to make it so they can click on the bars, or label of bar, and have it taken them to another page to see more details?
View 1 Replies
Sep 7, 2010
I am showing data on a gridview.I want to show one of the column as hyperlinks and when i click that column value and it need to releated value information in a sepereate page.
I am trying to use hyperlinkfield but it wont take values (data).How to acheive my task..
View 5 Replies
May 7, 2010
I need to display foders n files information(type,size,date modified etc) of a particular directory in a gridview.I need to make the folders as links and files as labels before binding the data.
View 1 Replies
Jun 14, 2010
I'm trying to access and display certain data in my database using category ID's. I've added values to the links in a link list and I was to have the selected value as the one that determines the selection in the selection statement. For example, "SELECT [ID_key] AS ID_Key, [Title], [Source], [PublicationDate], [Url], [CatID] FROM [Newsarts] WHERE ([CatID] = Linklist1.SelectedValue)". I know Linklist1.SelectedValue doesn't work or it may work and I don't know how but I want to be able to use the value selected from the previous link. Is there a way?
Also, after all the data is displayed, I would like them to become links themselves. Basically, I want to choose a category, then choose an article in that category, and they hit the link to display the article's content.
View 2 Replies
Mar 24, 2010
I've created details masters before but can't remember what links the two together. When an item is selected with a master, such as a gridview, what is used to tell the details view which record to display? Is it the DataKeyNames property?
View 4 Replies
Nov 28, 2010
I have a repeater in my page as follows:
<asp:Repeater ID="RepeaterVacancies" runat="server">
<ItemTemplate>
<asp:TableCell CssClass="evenTd" runat="server">
<asp:HyperLink runat="server" NavigateUrl="Vacancies.aspx?VID=<%#DataBinder.Eval(Container.DataItem,'id')%>"
ID="Hyperlink1">
<%# Container.ItemIndex + 1 %>
</asp:HyperLink>
</asp:TableCell>
......
</ItemTemplate>
</asp:repeater>
when I loaded the page, the numbers come fine, but the links are not evaluated well: Instead of linking to Vacancies.aspx?VID=170 for example, the link comes this way: [URL]
View 3 Replies
Feb 18, 2011
I want to get extra column with links in my gridview which changes on click and updates my database
View 8 Replies