Hi All,
I've been using Asp.net1.1 for a few years now but when I create an app in 2.0, I don't see a C:\inetpub\wwwroot directory anymore.
In the past i created a single web.config file and placed on the root of my local machine (c:\inetpub\wwwroot), which allows a global database...
Hi All,
I have two listboxes on my page with autopostback =true where I do some processing.
When the page comes back the scroll position in each always defaults back to the top position. The selected data is retained but the user has to scroll all the way back down again.
Is there a way to...
Is there a way to call the OnItemDataBound routine without performing a databind?
My OnItemDataBound routine is called LoadItemData(ByVal sender As Object, ByVal e As DataGridItemEventArgs)
There is some logic in there that needs to be done but I don't want the data values to be loaded from...
Hi All,
For one filed in my databound grid, I need to convert it from a textbox to a checkbox. But I cannot figure out the exact coding. I tried this but it doesn't work. It bombs out on the DIM statement below:
Sub LoadItemData(ByVal sender As Object, ByVal e As DataGridItemEventArgs)
If...
Hi All,
I'm using a data repeater with an HTML table for a desired design look. But the tables seem to indent to the right each time the repeater creates a new table. I'm not sure why? Any help would be appreciated. Thanks.
<asp:repeater id="Repeater1" runat="server">...
Hi All,
I have a data grid with a few columns. The first column is a checkbox template and the last column holds numeric values.
When the user clicks the checkbox, I need to add up all the rows with the checkboxes checked and place that sum in textbox on the screen.
On the checkbox I have...
Hi All,
In my datagrid I want to use a template column as a hyperlink.
But I need to convert a database column value from a date to a single digit representing the day number. So I want to use the WEEKDAY date function as the data is being bound but I keep getting a compulation error where...
Hi All,
I've been searching all through this forum to find out the best way to make/use Global variables accessible within my app based on a user session. Many people say use Session variables but there must be a better way.
I've tried created a class called GlobalClass but the values are...
Hi All,
I'm a little confused about the use of declaring Public vs Public Shared in a class. I want each user to have their own instance of that variable. But what does Public Shared do? If it is set by one user, then all other users will see that updated value...
Hi All,
I have a test server running the latest version of IIS and .netframework 1.1. Dotnet apps copied there from VS work fine.
My workstation has VS2003 installed. But when I create a new app on that server then press F5 to debug it from my PC, I get: "Error while trying to run project...
Hi All,
I've been using VS2003 ASP.NET with VB for about six months now (some of you probably have seen my posts). I have create 4 mid-sized apps.
If I get and install VS2005, would there be any code changes required in my apps to make them work?
I use datagrids, repeaters and other common...
Me Again,
Since I could get this to work (http://www.tek-tips.com/viewthread.cfm?qid=1132518&page=1)
Is it possible to change the Textbox control to a dropdownlist for a single row inside a datagrid?
If e.Item.DataItem("Field_ID") = 6 Then
Dim DLIST As New DropDownList...
Hi All,
I am able to create dynamic fields inside a data grid (i needed a dropdownbox instead of text when a piece of data has a specific value).
But how can I read the value of a dynamic field???
I created it use this code which works fine:
Dim DLIST As New DropDownList
DLIST.Items.Add("0")...
Hi All,
I have a question about pairing inserting new controls during runtime to a bounded datagrid. I have a table that holds Value/pairs:
fieldID, Value
1 , "TimeSpent"
2 , "price"
....
Another tables holds
FieldID,UserData
1 ,"1.25"
2 ,"100"
What I want to do is split up...
Hi All,
Is it possible to share a class value between applications.
If I set Class1.USERNAME in one application, can another see the value?
Public Class LogonClass
Public Shared USERNAME As String
function setvars
USERNAME="TEST"
-----------------------------------...
Hi All,
I need to do some cleanup when the user either closes the browser or leaves my application.
I think this should go into the Global.asax file.
However I placed some code under the Application_End sub but it never fires. In fact, none of the ASA subs fire. I even placed a breakpoint in...
Hi All,
I am able to run Oracle SPs that return varchar output results. But when I try to run SPs with output variables that have a Cursor type, the result is unreadable.
The connection opens fine and executes correctly (see code below), but I cannot read the value returned from the cursor...
Hi All,
Me again.
Just have a simple question this time.
I can't seem to change the font size dynamically when loading data into a datagrid. All the other commands work fine but when I get to e.Item.Font.Size = FontSize.XXSmall, the FontSize.XXSmall part is highlighted in blue.
What am I...
Hi,
I finnally setup an ASP.net server instead of using my local PC.
I copied my files over to the inetpub/wwwroot/app1
When I try to run my default page (main.aspx), I get this error parser error:
________________________________________________________
Line 1: <%@ Page Language="vb"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.