all groups > asp.net > june 2005 > threads for sunday june 12
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
User control with sub controls
Posted by PEK at 6/12/2005 11:43:04 PM
I know how to create and use user controls, by I find them sometimes to
limited. I sometimes want to creating something like this:
<test:mycontrol runat="server">
<p>Some text</p>
</test:mycontrol>
I also want to do something like this:
<test:mymenu runat="server">
<test:mymenuitem>It... more >>
Databinding: How do I use the data as a parameter for a method or function?
Posted by Nathan Sokalski at 6/12/2005 10:34:37 PM
I am using a SortedList as my DataSource. However, one of the things I am
using the data for is to generate the URL for the HyperLinks in my DataList.
Therefore, I need to use the result of a Server.UrlEncode() method with the
data as the parameter. The code I am using to get the data from the... more >>
problem with attachment showing form server side
Posted by bhavik at 6/12/2005 10:29:01 PM
hi
I have problem with attachment showing form server side.
when our application run on localhost we add any attachment to mail server.
if suppose we want to show that attachment we can see that attachment with
View button. so in view button I me giving path of local machine and
attac... more >>
Passung CheckBox Values Question
Posted by Patrick Olurotimi Ige at 6/12/2005 8:36:01 PM
After a user selects checkboxes and submits by clicking a button i can
retrieve the values True/False by calling the
Context.Items("Message") in the page_load of the retrieving page like
below
Sub doSubmit(ByVal Source As Object, ByVal E As EventArgs)
Context.Items.Add("Message", Mess... more >>
blank cells not showing
Posted by tshad at 6/12/2005 8:21:13 PM
How do I get blank cells to show in my dataGrid?
I am databinding to my datagrid, but any cells that are blank, don't show.
Normally, you would put an   in the cell to make IE display the cell
normally. In other browsers you can use the css statement empty-cells:show.
But this doesn't w... more >>
help with validating a textbox
Posted by rodchar at 6/12/2005 5:16:01 PM
hey all,
i'm trying to validate a textbox on my form with the following expression:
0.a.0.a
meaning I need to make sure the user follows this pattern.
0-9
period
A-Z
period
0-9
period
a-z
can someone direct me to a good reference article because i can't find
anything basic with re... more >>
Enum to represent string??
Posted by guoqi zheng at 6/12/2005 4:44:48 PM
We can enum to represent a interger using a string. But how can we use enum
to represent string
below is what I want to achieve.
Public Enum country
Netherlands = "nl"
America = "US"
France = "fr"
End Enum
Obviously above code does not work. How can I achieve a similiar functio... more >>
Client-Side Scripting - Drop Down List
Posted by Jeremy S at 6/12/2005 3:56:59 PM
When users select from a DropDownList, I'd like to have the selected value
get copied to a TextBox also on the same page.
1. How do I wire up a client-side JavaScript function call to a DropDownList
control so that the function gets called when the user makes a selection?
This DropDownList ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HttpWebRequest times out with ASP.NET_SessionId cookie (response TIMEOUT)
Posted by davvel at 6/12/2005 3:44:02 PM
It has been 6 days of re-writing the same code in different ways to try
and avoid a getResponse Timeout which haunted me for much too long now.
I am trying to do a very simple thing which is prooving the most
difficult in my career. Scrape a screen which has several session
variables within it... more >>
Does anyone like what Microsoft has done to databinding?
Posted by John Bailey at 6/12/2005 3:28:02 PM
When I first built a few web pages in ASP .Net 2.0, I thought it was great.
The formview and detailview contorls would automatically layout the controls
for you, the update methods were automatically generated, and the
objectdatasource let you design against a business object through the gui.... more >>
error in creating popup
Posted by manas at 6/12/2005 11:44:32 AM
hi,
I am using showDialogModal to create a popup...
the intial page is webform1.aspx and the popup page is error.aspx,
I have the <base target="_self"> in webform1.aspx
and the code i used is
submit1.Attributes.Add("onclick","window.showModalDialog('error.aspx','BaseWork','dialogWidth:400px... more >>
exception question?
Posted by Leon at 6/12/2005 10:54:25 AM
how do I get just the "System.Exception: The subdomain does not exist"
message and not the following from a unhandle exception?
System.Exception: The subdomain does not exist
at vip.header.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\vip\index\controls\header.ascx.vb:line 9... more >>
Databinding Dates in ASP .Net 2.0
Posted by John Bailey at 6/12/2005 10:17:07 AM
Is there a good way to databind a textbox to a date field that will not throw
an error when a null is encountered. I tried changing the Null Value in the
dataset , but when I do I get the following message:
For columns not defined as System.String, the only valid value is (Throw
exception)... more >>
NEWBIE!!: ASP.Net 2.0 b2 Profile General Questions
Posted by Johnny Meredith at 6/12/2005 5:22:13 AM
Warning: Newbie question.
ASP.Net 2.0 b2
VB.Net
I'm writing a web site to track the progress of tax audits.
Essentially, this means tracking the lifecycle of certain documents
that are issued by a taxing authority and returned by a taxpayer.
Anyway, I had envisioned a page with a gridview... more >>
Sample code for Connecting and Executing a stored procedure is SQL server using ASP.NET
Posted by Peri at 6/12/2005 12:00:00 AM
Dear All,
Can you one give me some sample code for connecting to the SQL server DB and
executing a stored procedure in the SQL server using ASP.NET ?
I also need to display the result set in the datagrid. Can anyone help me
out with a sample code ?
Thanks and Regards,
Peri
... more >>
|