Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested ASP.Net Programming Solutions: 201 - 225 of 13167
 
in asp.net 2.0 I am trying to use the Server.MapPath("/") to return the root directory of the application... it errors with: Exception Details: System.InvalidOperationException: Failed to ...
Hello, I have a relatively simple need, but I just can't get things to work. I have a repeater control with several controls in its ItemTemplate. One of those controls is a Checkbox. Anothe...
I have a somewhat complicated GridView that contains 3 static columns and a dynamic number of columns of checkboxes.  I have the majority of this gridview working except that I can not get the...
I have a situation where I want to dynamically create a query string. I have a Stored procedure like this: ALTER PROCEDURE [dbo].[usp_GetPromos]      -- Add the parameters for the stored pr...
Hi I'm adding a Checkbox control to a DataControlFieldCell in the Gridview RowCreated event but it is lost on DataBound. The Gridview column is a BoundField control. I need to switch displa...
I have written a VBscript to run locally on a workgroup pc that reads several registry entries and writes them to a text file. Now I want to dump this text file onto my Domain PC. What I...
How to find the child node in the Treeview. I am using the Visual Studio 2005. I am able to find the Root Node by using the following, but how to find the child node.         Dim name As Tree...
Does anyone know if it is possible to return an array of strings to a template field?   You can see from my Asp.Net code I am casting the returning object to an array of strings. However w...
If I have an sqldatasource, a gridview, and then put a textbox on the page with a button next to it, is it possible to tie the textbox to the insert command of the sqldatasource and then execu...
I am opening a User Entry page in an window when user tries to access 'Tracking.aspx'. below code popsUp window with Entry page Response.Write("<script>window.showModalDialog('Admin/UserEnt...
i have the following code for gridview with code behind: Sub Change_Record(ByVal sender As Object, ByVal e As GridViewCommandEventArgs)         End Sub how can i get row values........
Question: I am trying to "automatically" save a PDF file.  The following opens a PDF in the browser.  I need a way to generate the same file so that it can be saved to the server without user ...
Good morning, I had a question about the ConfigurationManager class.  I was looking at an article today that was sort of nifty in that you could use asp_regiis to encrypt portions of your w...
Hi, I am working on ASP.net2.0 using c# I have a date string  in format "dd/MM/yyyy" string strExpDate = DateTime.Parse(CommonFunctions.ConvertDate(CryptoString.DecryptText(dr["LExpir...
In ASP.NET 2.0 with C# I have in a page 2 panels that are switched by clicking on 2 buttons. When you click one button then one panel is set to visible and the other to not visible and vice v...
I would like to know how to open a new browser window using just VB.NET/ASP.NET 2005. What I have is a webpage with a listbox with filenames in it and a button. I want my users to be able t...
I have bound my GridView to a DataReader which works fine. But after this I need to add a row to the GridView which should be a hyperlink/Image button field. Upon clicking this link,  I want t...
I have a checkbox list with 10 items. One of the item is "Other" . If user checks the "Other" item he has to fill description on a textbox. I want to put a validation on this if user che...
I have seen numerous posts on solutions to whole-page refresh from postback from within an Ajax UpdatePanel. Most are relatively simplistic and don't address the issue that I face. I have a...
I've created a gridview populated with data from a SQL database and added a checkbox to each row using item templates. How do I pull back data from the grid to a variable based on what the use...
Hi, I have a question to the article: http://www.dotnetbips.com/displayarticle.aspx?id=79 The Author showed how to pass variables using Server.Transfer, but he showed it for one value a...
Hello all I could really use some help here.  I have a ASPX page that has a regular select list on it where the user can add and remove items via javascript.  I need to in my code behind on a ...
Hello, experts. I am using ASP.Net with Visual Web Developer Express 2008. I have two webgrids on a page.  The first is a list of projects.  When the user changes rows in the first grid,...
I have a gridview which allows me to show the details through a DetailsView server control. The DetailsView allows updates and inserts. Whenever I update or insert a record through the Deta...
ASP.NET 2.0 AJAX, C# I have an UpdatePanel containing a series of LinkButtons which i want to control the visbility of another series of UpdatePanels. For example, LinkButton "Show Panel 1...