Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning value to a textbox
Message
From
11/03/2003 15:28:27
 
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00764099
Message ID:
00764425
Views:
28
Dmitry,

>>When you say you sub-classed every control, does it mean that you can have "your" controls (sub-classed from base classes) on the Toolbox of the VS.NET? <

Yep, that's what I mean. Right-click in the ToolBox and select "Add/Remove Items". From the dialog box that comes up, click on the "Browse" button and then find the .DLL that contains your controls. That's it ... all the classes in that class library will be added to your ToolBox.

Most of our "base" controls are *not* subclassed visually, but you can do the same thing with visually created controls too.

~~Bonnie


>Bonnie,
>When you say you sub-classed every control, does it mean that you can have "your" controls (sub-classed from base classes) on the Toolbox of the VS.NET? And if the answer is yes, could you share how this is done? Can you visually create your library of classes (as you do in VFP) and then make this library available on the Toolbox?
>Or maybe I am misunderstanding you. If so, I apologize.
>
>>
>>Ooops, well, that was your *first* mistake. <g> We have sub-classed every control we use and use *only* these as our "base" classes. Anyway, no, I don't know of a way of doing that globally ... doesn't mean there isn't a way, I just haven't really looked. Sorry, I'm no help ... =(
>>
>>~~Bonnie
>>
>>
>>>>Well, we need to see some code. When do you fill the DataSet? What are you doing when the Save button is clicked? Also, I ran into something with IE's cacheing of web pages, which may be the problem you're having. In the Page Load, I added Response.Expires = 0 so that the page is always reloaded fresh, it doesn't use a cached web page.
>>>
>>>>
>>>>~~Bonnie
>>>
>>>You haven't come up with a way to do that globally have you? Like in the global.asax or something? I'd have to have to go to every page and add it. And no, we didn't use our own _base class like we always do in VFP.
>>>
>>>BOb
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform