Ok I have a gridview that uses TemplateFields:
<asp:TemplateField HeaderText="Description">
<ItemTemplate>
...
I'm having a tough time find any documentation and/or code snippets that will help me to figure out how to proceed with this latest request I have been given.
Essentially I have a small que...
I have a .NET application written in Visual Basic which allows the user to open an Excel spreadsheet. It works fine on my development machine but when I copy it to the server it returns an er...
Trying to create a system.net.webrequest which takes a uri as the parameter I want to pass in a relative path for example "mypage.htm" which should grab the path form the current directory
...
Hi experts,
I have a vb.net page with a gridview on it.
I have successfully set it up so when the mouse hovers over a row, the background row color changes. But now, I want to be able to...
Hi Experts,
i have a set of string text "helloworld<>helloworld /helloworld".
How do i convert this string in binary data format using asp.net
Thanks
I have some Javascript functions I was using in a standard asp.net page. I am now trying to use this script in a Content Page that references a Master page. In my script I am populating two v...
When trying to run my asp.net app i get this error:
Exception Details: System.Security.SecurityException: Requested registry access is not allowed.
Source Error:
An unhandled excepti...
Hi there,
I wanted to know the syntax for calling a js function inside an asp hyperlink control?
Sean - thanks in advance
<asp:HyperLink runat="server" Text="<%# DataBinder.Eval(Con...
Hello all,
I'm building a website in ASP.NET 3.5, using C#. I have downloads that are accessed on the site via a stream mechanism (instead of directly linking to the files) for tracking an...
Hello all. This is what I am wanting to do. I need to have a hyperlink that when clicked it calls a javascript function but also calls a function in my code behind to save some data first th...
Hey there guys,
I am playing with AJAX and have a senario here that i have not found any resources for out there... I am running a MasterPage configuartion with Registered Web User Controls...
Hi.. i am building an ASP.NET web-application.. i am facing a wonderful Exception ..
in my .aspx file
<asp:GridView ID="grdForcefullyLeaves" runat="server" DataKeyNames="LeaveNo,EmpNam...
I need to sort a datatable only once and then iterate through its rows multiple times (after postbacks, so I am using a cache to store the datatable).
DataTable dt = null;
Da...
Hello all. I have a field where I beleive I am using a string.format to make a currency number such as 1243.44. I need to make a comma for any thousands such as 1,243.44. The variable I h...
I am trying to connect to a SQL Express 2005 DB using ASP.NET. I just can't seem to get the last little part to work. I'd like to have it in my Web.config file, but nothing I've read has worke...
Hi
I have a gridview that has a custom pager template. I also have some code in the page that creates some numeric links dynamically and adds them to the pager template and handles their ev...
New to ASP.NET and programming in VB. I was wondering what is the easiest way to put IF condtions in DataLists? Look at the example below. The 'Online Price' is not always valid and neither is...
I have an asp application that contains data in two asp table controls. The user can toggle between view all and selected (Checkboxes checked) rows in the tables from the details page. I am...
Hello experts.
I have a datareader that loops rows to create data table rows. The data table is then used to output into an XML file.
The problem i'm having is the first record is not be...
I get the following error message:
"Microsoft JScript runtime error: 'Sys.WebForms.PageRequestManager' is null or not an object"
when executing:
Sys.WebForms.PageRequestManager.getInsta...
Hi
Am using asp.net 3.5 with master pages.
I need to run some javascript to preload some images in the body onload event but I don't need to run this on every page.
The only body tag...
I have a very simple E-mail form in ASP.NET C# which works just fine. I am coming from an HTML page, submit to and ASPX page and then redirect to home page.
All I need now that if sending ...
I have a gridview with a template column that has a button in it.
In the rowcommand event I need to get the current row index but I get the following error "Input string was not in correct...
I've setup a gridview with extra fields in the footer to allow inserts. My problem is, that if the dataset contains no records the gridview does not display and thus the footer does not, so I...