Declare an instance variable that has a type of the class for the code
behind on your user control and then add a property to that class.
HTH,
Matt
-Original Message-
From: Mysoresrikantaiah Srinivasaprasad [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 7:16 AM
To: [EMAIL PROTECT
another option is to use the Page class' RegisterArrayDeclaration method to
build your elements. Just enumerate over the rows for your datatable and
for each row, make the call to the method. If you use the same array name,
it adds new elements for each successive call.
As Drew mentioned, you s
7;t have to walk the entire Collection.
-Original Message-----
From: Matt Milner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 3:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] ListBox error in ASP.NET
Either disable view state for the control or walk the collection of
items
a
Either disable view state for the control or walk the collection of items
and set "selected" to false for all but the one you want. The control is
holding on to the selected setting from the last post and then you are
probably setting another item to be selected.
HTH,
Matt
Matt M
er the ID, or in IE, a
reference to the object.
HTH,
Matt Milner
BORN
www.born.com
-Original Message-
From: Ian Smith
To: [EMAIL PROTECTED]
Sent: 5/24/02 4:32 AM
Subject: [DOTNET] Web Form Control Ids - Prefix generation sometimes, not
others??!
In developing web form controls (ascx file
Because you add the control dynamically to the control collection, it does
not get added to that same collection on postback. If you want to have it
there, then you need to add it each time, regardless of whether it is
postback or not. And, depending on what you are going to do with the
control,
Instead of using response.write, try putting a placeholder control in the
form and putting your output there (without the "HTML" tags"). Or, better
yet, put an XML (server control) control in the form tag to do your
transformation.
HTH,
Matt
-Original Message-
From: Bailey, Mark [mailto
Sure, just use a wrapper control like the placeholder (no runtime rendering)
or the panel (renders as a div or span I believe) and set the visible
property on that. When a server side control has it's visible property set
to false, it won't render, and therefore the child controls within it also
I believe there is a property you can set on your deployment project that
indicates that it will do an update or upgrade of previous versions. Make
sure you increase your version numbers on the appropriate components
(assemblies) and that this property is set to true and then rebuild your
project
Just add LinkButton commands where you want them and in the server side code
for their click event, increment or decrement the page index. The catch is
that you need to keep track of the current page index. I do this by setting
the command argument of the link buttons to the next page index. The
not sure if this was already answered, but no, Netscape did not support
Windows authentication last time I checked. This is an IE only thing.
-Original Message-
From: Chris Anderson
To: [EMAIL PROTECTED]
Sent: 4/26/02 3:46 AM
Subject: [DOTNET] Windows authentication and Netscape
I'm u
If the remote object is on a different server, which I assume it is, then it
won't have access to the session state on the local server because all of
its code will run on the remote server. You might be able to get access to
the session on the server where the remote object lives.
Since HttpSess
Check out this article on gotdotnet regarding enterprise services. There is
mention in here of this type of configuration in the 1.1 release of .Net
http://www.gotdotnet.com/team/xmlentsvcs/espaper.aspx
HTH,
Matt
-Original Message-
From: Vishwas Lele
To: [EMAIL PROTECTED]
Sent: 4/24/02
Try changing this:
Dim decryptedBytes(Convert.ToInt32(reader.Length)) As Byte
to this:
Dim decryptedBytes(Convert.ToInt32(reader.Length)-1) As Byte
I've seen this happen in VB.Net because when you create the byte array, the
value you pass is the upper bound, not the capacity. So, you get a by
I belive the following call:
FormsAuthentication.RedirectFromLoginPage(txtUserId.Text,false,"/");
Is resetting the cookie after you ahve set it. You might want to use some
other means to redirect them to the page you want.
HTH,
Matt
-Original Message-
From: PrashanthG
To: [EMAIL PROTE
You could use an XSL stylesheet and run a transform on the xml of the
dataset. I've done this with recordsets and it worked pretty well.
HTH,
Matt
-Original Message-
From: Nischal Chitta
To: [EMAIL PROTECTED]
Sent: 4/22/02 2:02 PM
Subject: [DOTNET] DataSet to .csv file
Hi All
Can some
Make sure you only call configure once in your applictaion, probably in the
application_onstart method in your global.asax file. Otherwise, if you do
it in say a page, then you are trying to re-register the channel(s).
HTH,
Matt
-Original Message-
From: Marina Zlatkina
To: [EMAIL PROTEC
Check this thread from a week or two ago about this very thing.
http://discuss.develop.com/archives/wa.exe?A2=ind0204a&L=dotnet&F=&S=&P=54
-Original Message-
From: Howard Pinsley
To: [EMAIL PROTECTED]
Sent: 4/11/02 3:07 PM
Subject: [DOTNET] Question about Jeff Prosise's Article on ASP.N
18 matches
Mail list logo