all groups > asp.net > february 2006 > threads for saturday february 25
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
setting an image-hyperlink width manually???
Posted by Daves at 2/25/2006 10:04:24 PM
my gridview should display a column with an image which also is
hyperlinked...
No problem with:
<asp:HyperLinkField
DataNavigateUrlFormatString="~/Groups/Default.aspx?group={0}"
DataNavigateUrlFields="GroupID" />
but how on earth can I set the image width???
I can also use the Gridvie... more >>
Default sort column and order in Gridview?
Posted by Daves at 2/25/2006 9:38:18 PM
I have a gridview displaying News items and fetches the data through a
(little complicated) sql stored procedure... The sorting seems to be done in
the gridview since there is no sorting implementation in the stored proc
(well actually it is sorted by DateIn DESC by default but still the gridv... more >>
Datagrid won't post variables if hidden
Posted by Nick at 2/25/2006 9:09:35 PM
For some reason, why does ASP.net only see variables that are 'DISPLAYED'
inside a datagrid?
Even if the Field is Databound, I cannot post the variable or use it in an
updatecommand... it has to be visible??
I've tried putting the field on the page but making 'Visible = false' but it
s... more >>
simple question: How to refer to an image on the header control?
Posted by tom at 2/25/2006 7:43:36 PM
Hi,
I am a newbie and have a simple question?
I have a aspx file and on the form I have a user control which is my
header and has some images. Now for various pages I need to load
different images on the header. How to replace image "A" with image "B"
on the control programatically?
I U... more >>
Script Explorer/Running Document not available in VS 2005
Posted by Ben Fidge at 2/25/2006 6:10:22 PM
Hi
Is there a list of settings that must be configured correctly in order to
use the Script Explorer in VS 2005? I'm trying to debug some javascript on
one of my pages after upgrading from VS.NET 2003 to VS 2005.
There is no menu item for Script Explorer under Debug->Windows on my setup.
... more >>
ASP 2.0 Membership API
Posted by timdennis30 NO[at]SPAM gmail.com at 2/25/2006 4:15:26 PM
I am wondering how create a security framework for all our web
application. Is it possible to create a single forms authenication
(cookieless) setting for multiple web applications and web config
files. For example, I want the security web site on our webserver to
serve as a portal for other s... more >>
aspnet_wp.exe could not be launched (running ASP.NET 2.0)
Posted by dean4if at 2/25/2006 4:13:16 PM
I have upgraded my Windows 2000 Server to ASP.NET 2.0 and installed Visual
Studio 2005.
Now my Web Sites are giving a Server Application Unavailable error and the
Event Viewer reports event id 1007 saying 'aspnet_wp.exe could not be
launched ...' because of how the username/password configurat... more >>
Setting GridView SelectedIndex based on a row value
Posted by Jay Pondy at 2/25/2006 3:55:41 PM
I have a datasource with 2 columns PKID and Description.
The datasource is bound to a sortable GridView where the PKID field is NOT
visible.
If the user has a row selected before the grid is sorted I want to select that
same row after the sort.
How is this done using the GridView?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DAL - Accessing Output Parameters
Posted by Garth Wells at 2/25/2006 3:29:06 PM
Using an example in the Jan 2006 release of the Enterprise Library,
I came up with the code shown below to create a DAL method
for returning several columns of a single row. I place the output
parameter values in a comma-separated string, and then split
the string to get the individual values on... more >>
RequiredFieldValidator disable on new page load
Posted by bdtmike at 2/25/2006 2:13:31 PM
I'm using VS2005. I have a form that has fields and a required field
validator control on it. Everything works great except there's a
behavior I'm trying to get working. If a user is on a form and are in
the middle of editing it, they can click other links on the page that
would take them els... more >>
Beginner ASP.NET help
Posted by Chris at 2/25/2006 12:39:48 PM
Hi all,
I've built a site using ASP.NET (my first) and currently it has no content.
The layout and design is done (only 4kb of images used). Testing it out on
my webserver I notice a large load time for each page. On investigating,
each page seems to download 2 "WebResource.axd" files, one... more >>
Help casting a dynamic user control to the type i need
Posted by Tarun Mistry at 2/25/2006 12:28:15 PM
Hi all, I am adding dynamic user controls with the simple code as follows:
MyPlaceHolder.Controls.Add(LoadControl("MyUserControl.ascx"));
I then want to run a member on my user control, something like:
MyPlaceHolder.Controls[i].TheMemberFunction();
However I cannot do this as it obviousl... more >>
Dynamic loading of Web User Controls into a Content/ContentPlaceHo
Posted by Wouter at 2/25/2006 9:58:27 AM
Hi,
I hope somebody can give me a pointer to solve the following problem.
I want to dynamically load a web usercontrol (ascx) into a content control
of a content page which references a master page.
I have tried to place a PlaceHolder control first in the content section and
then load t... more >>
Virtual Directory; ASP.NET 2.0; Development Server
Posted by anonymous at 2/25/2006 8:31:38 AM
Hey all,
Is there anyway to create a virtual directory in the new Development Server?
I have a image folder with about 2 gigs of images. I would like to store this elsewhere on my filesystem, rather then under the application because it cause problems.
1) VSS wants to put them under source con... more >>
The type initializer for 'MyClass' threw an exception.
Posted by ibiza at 2/25/2006 8:22:10 AM
Hi all,
I have this class:
Public Class KanaConverter
Private Shared kana As ArrayList
Private Shared romanji As ArrayList
Shared Sub New()
kana =3D New ArrayList
romanji =3D New ArrayList
Dim r As Data.SqlClient.SqlDataReader =3D japDB.getHiragana()
W... more >>
Hot to create file with VB.NET ? ? ?
Posted by merianosnikos NO[at]SPAM gmail.com at 2/25/2006 6:32:06 AM
Hello . . .
I need some help . . .
I already know to programming in VB6 and i starting the VB.NET
I want to create a file that will contain other files.
Something like ZIP files but not zipped ! ! !
I want to copy a PDF file in it and i cant ? ? ?
is any method that i can do it ? ... more >>
access controls on another web user control
Posted by Giorgio at 2/25/2006 5:50:46 AM
I have 2 web users controls in a page and I would like to get or set
the selected values of a few dropdown boxes and I also would like to
know how to access functions that are on aweb user control X from a web
user control Y, is this possible? How can I do it?
... more >>
ASP.NET 2.0 / VS.NET 2005 ANNOYING BUG
Posted by André Silva at 2/25/2006 5:23:28 AM
"Unable to cast object of type 'ASP.masterpage_master' to type
'ASP.masterpage_master'. "
Every time I make a change on the web site and run it this error occurs. To
fix it I must rebuild entire web site which takes a lot of time.
How can I run the site after a change widhout seeing this a... more >>
How to change data displayed in one GridView depending on selection made in the second one? (ASP.NET 2.0)
Posted by misiek at 2/25/2006 4:37:31 AM
Hi all.
I have two tables in my database: TableA and TableB. Records in TableB
contain foreing key to records from TableA (it is a relation one to
many: one row from TableA could have many rows from TableB connected to
it).
In DataSet Designer I created two DataTables: TableA and TableB. Th... more >>
Can I use ASP.NET Web Admin tool as a part of my site?
Posted by va at 2/25/2006 1:59:28 AM
I need to have a designated admin user add, approve and remove users from the
site. They won't have VS 2005 instaleld on their machine.
I want to have teh Web Admin tool as part of my site but I want to avoid
having to rewrite all the code to manage my users and roles. Is there a way
to... more >>
Invalid attempt to Read when reader is closed.
Posted by sivam.solai NO[at]SPAM gmail.com at 2/25/2006 1:07:26 AM
Public Function GetTopLevelThreadName(ByVal ThreadID As Integer) As
SqlDataReader
Sp_Datasql = "WS_Get_TopLevelThreadName"
SqlParam = New SqlParameter(0) {}
Try
SqlParam(0) = New SqlParameter("@ThreadID", SqlDbType.Int)
SqlParam(0).Value = ThreadID... more >>
How to use ASP.NET 2.0 Web Admin tool on hosted site??
Posted by va at 2/25/2006 12:19:21 AM
I deployed the personal web starter kit and its databases on a shared hosting
site The hosting site gives me ASP.NET 2.0 and a SQL 2005 server database.
Everything is working but now I would like to use the ASP.NET Web Admin tool
to manage users, roles, etc...
How do I get the web admin t... more >>
How can I use xlst in asp.net?
Posted by ad at 2/25/2006 12:00:00 AM
Hi,
How can I use xlst to display a xml file in asp.net?
... more >>
|