all groups > asp.net building controls > july 2004 > threads for july 29 - 31, 2004
Filter by week: 1 2 3 4 5
Alerting the user from code behind
Posted by Peter Aitken at 7/31/2004 1:53:16 PM
I need to alert the user when code behind in a user control encounters
certain data conditions. I'd like to do this with a MsgBox but I know that
code behind cannot call this function, at least not directly. Is there a way
to do this?
--
Peter Aitken
Remove the crap from my email address ... more >>
Having trouble adding a web user control programatically.
Posted by Shawn at 7/31/2004 6:19:01 AM
Hi All;
I am attempting to figure out how to add a user created control (test.ascx) to an ASP.NET page based on a user choice. I have created a simple page that uses session to keep track of the instantiated class. i have added to the class a simple public property (action) initially set to zero.... more >>
Repost: Getting Project Folder during Design Time
Posted by johndoe NO[at]SPAM driver.net at 7/31/2004 3:46:04 AM
I was given the following code in response to a request to retrieving the
Web Root for a Project while at design time. However this does not do what I
need it to do. I am looking for the Current Project (which i assume is
objProject) and I am looking for its "Project Folder" ?
The Solution ... more >>
Bubbling Event in Composite controls
Posted by nidhee NO[at]SPAM gmail.com at 7/31/2004 2:02:55 AM
Hi Everyone,
I am building a composite server control. I have defined an event for
my child control with Custom Event Arguments. I am using the bubbling
method to access the child control's events in the Parent control.
Still, my child control is not raising the event. What am I missing?
Fo... more >>
Property Group issues
Posted by Earl Bonovich at 7/30/2004 3:15:38 PM
I have created a composite custom control.
It works fine, renders, all is good on that side.
I am trying to cleaup the design mode side of it, and in turn clean up the
core control.
All surounding properties.
I have been able to create classes for the properties.
I have been able to get th... more >>
File upload. Huge files
Posted by Oleg Slyusarchuk at 7/29/2004 3:07:20 PM
Hi,
This is topic that has been discussed thousand times, however.
Classic approach is to use HttpPostedFile object, check if it's not null,
and save it.
Something like:
// Check to see if file was uploaded
if( filMyFile.PostedFile != null ){
// Get a reference to PostedFile object
HttpP... more >>
call javascript function after validation
Posted by Eirik Eldorsen at 7/29/2004 1:27:22 PM
When the user clicks a button on my page, a server side operation starts
which takes several seconds to complete.
To make the user less impatient I want to show a animating gif when he/she
clicks the button. I've been able to do this by calling a function by using
the onclick event of the button... more >>
Thread: Control Overrides Page
Posted by Reiner Max at 7/29/2004 11:52:19 AM
Hello
I would like to be able that my control overrides the complete
live circle of the page. The event is trigger by a Query string
value.
I need that my controls stops the process(events) of the page and all the
other controls.
The Problem for me is that i can overwrite the render m... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HtmlTextWriterAttribute for double click attribute
Posted by whoisnidhee NO[at]SPAM yahoo.com at 7/29/2004 6:11:31 AM
Hi Everyone,
I am building a server control. I am using the HtmlTextWriterAttribute
class for adding the attributes to the control. I want to add a
function on the "double click" event. The HtmlTextWriterAttribute does
not provide the ondoubleclick event. How can I add this attribute to
my cl... more >>
How to set button text Align to left?
Posted by boy0612 at 7/29/2004 1:43:48 AM
How to set button.text Align to left?
... more >>
|