all groups > asp.net > february 2008 > threads for saturday february 9
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 29
Since when is a Refresh a PostBack?
Posted by Jonathan Wood at 2/9/2008 11:29:42 PM
I'm getting into the habit of checking IsPostBack in my Form_Load handler
and not updating the page if it is a postback.
However, I notice that if I hit my browser's refresh button, the page
refreshes without any data.
Since when is a refresh a postback?
Thanks.
--
Jonathan Wood
S... more >>
Custom databinding of a text box
Posted by Keith G Hicks at 2/9/2008 6:36:23 PM
vwd 2005 express.
when editing the CUSTOM databinding of a text box in a FormViews
"ItemTemplate" I'd like to do this:
Bind("[FirstName] & ' ' & [LastName]")
Or if you prefer, this is the resultant ASP code from setting the property
above:
<asp:Label ID="FirstNameLabel" runat="se... more >>
Copy Credentials for a worker thread
Posted by maa at 2/9/2008 4:46:01 PM
In my web app I am creating threads to do work. I want to give the same
rights as my main asp.net thread. The default is to give lesser rights so
when I access the db I get a log on failure with a trusted connection or a
user name/password.
What is the std way to copy credentials in asp.n... more >>
String Reference Type
Posted by RN1 at 2/9/2008 1:34:53 PM
If I am not mistaken, String is reference type. Can someone please
explain me why is it reference type & not value type?... more >>
binding format
Posted by Keith G Hicks at 2/9/2008 12:58:13 PM
I have a sql field called Status (which can be 1, 2, 3 or 4)
In a details view ItemTemplate I'd like the bound label to show "Open" for
1, "Closed" for 2, etc. I figure I can do this with the databinding string.
Bind("status", "<format stuff here>")
Not sure how to do that or if this is ev... more >>
Thoughts on Passing Information to Another Page
Posted by Jonathan Wood at 2/9/2008 11:59:16 AM
I'm finally getting the hang of ASP.NET.
But one thing I still struggle with is when I want to open a page and pass
that page some information. Here are some choices I have:
1. Pass it as a query string. This works for some tasks. But for other
tasks, this is neither private nor safe from ... more >>
button click problem
Posted by laziers@gmail.com at 2/9/2008 9:01:23 AM
Hi,
I have a code like this:
protected void Page_Load(object sender, EventArgs e)
{
// CODE1
}
protected void Button_Click(object sender, EventArgs e)
{
// CODE2
}
I was noticed that when I click the button, CODE1 executea and after
that CODE2 executes.
Here is the problem, I do... more >>
Help! Permissions problem running a report from a web app.
Posted by B. Chernick at 2/9/2008 7:39:01 AM
I've never done this before. I have an ASP.Net 2.0 app running on an
internal server (no special permissions, wide open access within our
intranet.) I added a page with a report viewer control. The published
report itself runs fine when called through the Reporting Services
Folder.aspx. ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Huge Volume Of data
Posted by Sunil at 2/9/2008 7:27:01 AM
This may sound like a very common question but
I am developing an application which is just used for reporting purpose...
The application has two things - grid and an option to export the data to
excel.
Now the main issue is the volume of data that we are dealing with is more
than a mill... more >>
CurentCulture set to en-GB but dates are appearing in US format st
Posted by Phil Johnson at 2/9/2008 6:16:02 AM
I am setting the current culture on the current thread in my global.asax.cs
application_start() event as follows:
System.Threading.Thread.CurrentThread.CurrentCulture = new
System.Globalization.CultureInfo("en-GB");
In my default.aspx.cs I then set the text of a label from a datetime
var... more >>
Makieng my variable Global
Posted by Husam at 2/9/2008 4:29:04 AM
Hi EveryBody:
How can I make my variable as global or variable that declared in all my
entire project.
For Example in Desktop application you can add your variable to the Module
to make declared for the entire project.
How can I do So in my web Application?
any help will be appreciat... more >>
How to use Option Compare statement
Posted by Eddie Simons at 2/9/2008 2:14:59 AM
Where do I put the Option Compare statement (Option Compare Text) in an
asp.net page in order to compare string variables case insensitive? All I
get is error messages so far.
... more >>
|