Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning value to a textbox
Message
 
 
À
11/03/2003 15:28:27
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00764099
Message ID:
00764438
Vues:
24
Bonnie,
Thank you _very_ much.

>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
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform