all groups > asp.net > november 2004 > threads for sunday november 7
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 30
UTF-8 cannot display Chinese
Posted by Tom at 11/7/2004 10:49:05 PM
Hi,
I built a aspx web page which the charset is UTF-8. I need to present the
same Chinese content to both Traditional and Simplified Chinese. However, it
shows error code for UTF-8, Big 5 or GB2312. All Chinese text cannot be
displayed.
I installed dot net framework 1.1 with traditiona... more >>
ways to improve compilation?
Posted by Jéjé at 11/7/2004 10:36:56 PM
Hi,
hoew can I improve the compilation process of a sharepoint website?
my server is:
2 * P3 Xeom 1ghz
4go ram
2 * 36gb (mirror for OS and website)
2 * 36 Raid 0 (stripping; for temp files and ASP.net compiled files)
3.*36 raid 5 (for databases)
I found this server slow!!!
another new... more >>
Getting reference to Form object
Posted by Joo Park at 11/7/2004 9:44:29 PM
Hello,
I'm trying to add a TextBox to a web page dynamically.
However, the compiler is complaining that it needs to be
place in a form.
How do I get a reference to a form object
so that i can do the following?
Form.Controls.Add(textbox);
thx in advance!
... more >>
SQL date compare problem
Posted by Darrel at 11/7/2004 9:44:21 PM
I'm trying to check a few fields in my SQL query to ensure that they fall
between a range (namly that today's date is greater than one field and less
than another field.)
This is what I have:
=========================================
dim strCurrentDate as String =
microsoft.VisualBasic.... more >>
Drawing lines on a chart
Posted by anthonyroche NO[at]SPAM ewiz.com.au at 11/7/2004 9:18:39 PM
Does anyone know of a product that allows a user to draw a line on a
chart?
eg A historical stock tracker would have a line graph of say Aug 03 to
Dec 03, which is a line graph representing a stock over that period. I
want to give the user the functionality to draw a line on the graph
(Straight... more >>
Datalist Question
Posted by Patrick.O.Ige at 11/7/2004 9:06:04 PM
I'm trying to page a Datalist below using VS.NET
But i get the error:-
System.NullReferenceException: Object reference not set to an instance of an
object.
At line:- btnPrev.Visible = (Not pagedData.IsFirstPage)
When i try the code using ASP.NET WebMatrix it works?
What am i doing wrog?
... more >>
Using a value from the datasource as a parameter
Posted by Tommy at 11/7/2004 8:39:21 PM
Is it possible to use the value from the asp snip below as a parameter to
the GetPriceValue() function on the line above it?
<asp:TextBox id="txtPrice_1_100" width="30px" runat="server" Text='<%#
GetPriceValue(1, 100) %>'></asp:TextBox>
<%# Container.DataItem("fipk") %>
I need to insert... more >>
Stopping multiple logins in ASP.Net
Posted by Conformix Sales at 11/7/2004 8:30:58 PM
Any thought about how can I stop a user from logging into the application
multiple times. I am using forms authentication.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Detect which ImageButton caused PostBack
Posted by Joe at 11/7/2004 8:13:42 PM
I have a DataGrid with a templated column that displays ImageButtons. I need
to know if one of these buttons caused the postback or just another button
on the form. If one of these buttons caused the postback than I don't want
to do a DataBind otherwise I do.
I know __EVENTTARGET doesn't retur... more >>
customErrors mode="Off" does not work!!
Posted by Julia at 11/7/2004 8:03:42 PM
Hi,
I have tried everything (at least everything I know) but it does not
work I only get friendly errors
I did set
customErrors mode="Off"
in all web condig files
Any one have an idea?!?
Thanks.
... more >>
How to programmatically register the __DOPOSTBACK script
Posted by Henri at 11/7/2004 7:28:26 PM
I'm designing a custom control and I would like to use the __DOPOSTBACK
JavaScript function.
Is there a way to make this function appear other than inserting a dummy
linkbutton inside my custom control?
asp.net controls like linkbutton must use Page.RegisterClientScriptBlock or
something to ins... more >>
Problems Setting the TextBox.Text Property
Posted by David Kyle at 11/7/2004 7:18:18 PM
Hello there,
I'm having some problems setting the TextBox.Text Property in my code and
having it returned to the client in the source when the
TextBox.TextMode="Password".
I know this is generally not a good idea to fill it with the actual password
but I would like to put '*'s in it as pla... more >>
String Builder
Posted by Manny Chohan at 11/7/2004 7:06:02 PM
How can i implement the following string in c#. I declared temp as
stringbuilder:
temp.Append("<span style=""font-family:Arial;
font-weight:bold;font-size:12px; color:")
i keep getting the eror due to ; insie the string
Thanks
Manny... more >>
Error: Failed to start monitoring changes - Framework 1.1
Posted by Tim D at 11/7/2004 5:58:03 PM
Hi,
I originally posted this as a reply to a rather old thread in
dotnet.framework.general and didn't get any response. I thought it might be
more relevant here; anyone got any ideas? My questions are below...
"David Good" wrote:
> We have a network running both Win2k and Win2k3 webse... more >>
show/hide children of composite control in javascript
Posted by Lisa Calla at 11/7/2004 5:55:39 PM
Hi,
I have a composite control made of a textbox and a label. I want to show
either the textbox or the label, and hide the other control on the client
side in response to a click. I can run a function belonging to the control,
but I can't seem to alter the visibility of the children. My co... more >>
Date Conversion probs
Posted by Vishal at 11/7/2004 5:44:34 PM
Hello,
I am trying to convert a date from a string like this:
Dim dtDate As DateTime = Convert.ToDateTime("Sun, 07 Nov
2004 14:05:04 +0200")
Response.Write(dtDate.ToString("dd MMM yyyy"))
However I am getting the error:
"String was not recognized as a valid DateTime. "
Its bec... more >>
xml and email?
Posted by Leon at 11/7/2004 4:54:38 PM
How do I stored a pre-built html email message in a xml file instead of hard
coding in my code-behind page?
If you know any articles or books that explain the above please include them
in your response.
Thanks!
... more >>
Set <IMG SRC Attribute From Code Behind
Posted by Guadala Harry at 11/7/2004 3:50:44 PM
How can I set the SRC attribute of an HTML <IMG> from code-behind module?
Thanks!
... more >>
timer function
Posted by TJS at 11/7/2004 3:38:37 PM
looking for example of timer function
something that will help me get to track user's elapsed time since last
refresh.
tried this but not working with session values correctly in my class
================================================================
Function NewText() As String
Di... more >>
CustomValidator does not fire
Posted by Vi at 11/7/2004 3:12:01 PM
Hi,
I have two pairs of a DropDownList and TextBox Controls and for each pair I
have a CustomValidator that makes sure that at least one of the two
(DropDownList or TextList) has a value.
When I submit the form, the OnServerValidate method for the first pair of
controls (DropDownList and Te... more >>
Free ASP.NET coding program needed
Posted by Nanda at 11/7/2004 2:58:24 PM
Does anyone know where I can download one, apart from Web Matrix? Thanks!
... more >>
Problems with a wrapper class for session object (revisited)
Posted by john.mullin NO[at]SPAM gmail.com at 11/7/2004 2:29:49 PM
We are having a problem which appears similar to a previous posting:
http://groups.google.com/groups?hl=en&lr=&frame=right&th=d97f552e10f8c94c&seekm=OZw33z9EDHA.2312%40TK2MSFTNGP10.phx.gbl#link1
In the current release of our system, we decided to "wrap" the ASP.NET
Session and Application obj... more >>
dynamically loading usercontrols (vb.net)
Posted by Darrel at 11/7/2004 1:58:07 PM
Anyone have a tutorial they'd recommend. I've found a few snippets here and
there, mostly in C#.
I'm specifically looking for the 'gotchas' I should look out for.
I'm building a mini-CMS tool for a web site. The pages all load a 'content'
usercontrol, but a few 'pages' using the template, ... more >>
Loading Controls Dynamically
Posted by kanones at 11/7/2004 12:46:04 PM
Hi -
I am seeing some performance degradation when I am loading a control
dynamically onto a page with multiple other dynamical controls using
Page.LoadControl versus dragging and dropping it onto an individual page.
Page1.aspx.cs
UserControl uc = Page.LoadControl("../UserControls/User... more >>
Dataview
Posted by Manny Chohan at 11/7/2004 12:04:01 PM
Hi guys,
I need some help with Dataview. Can someone guide me as to how i can iterate
through dataview such as for each item etc. I need to look for a certain item
in a dataview.
I am using c#.
Thanks
Manny... more >>
Where's the aspnet_wp?
Posted by Ingo Lundberg at 11/7/2004 10:50:37 AM
So, I have a brand new PC with XP Professional SP2 and .Net 1.1 SP1 (no .Net
1.0). I also have VS.Net 2003.
I create a new directory with Explorer and web share it. I create a new
ASP.Net web project in VS.Net "pointing" to the virtual catalog. I also add
a button the web form just for fun.... more >>
Question about viewstate
Posted by Bill Yeager at 11/7/2004 10:46:44 AM
I have a grid that I databind with a strongly typed
dataset which contains thousands of records retrieved
from a database. After the dataset is retrieved from the
database, I place it in viewstate. I need to do this
because of the following:
A user is allowed to check "x" amount of rows ... more >>
|