Information générale
Catégorie:
Formulaires Web
But seriously folks.
I guess if we are going to go to every page and change it, we should also inherient from our own base class.
I know, my excuse of, this was a first pass that was planned to be tossed doesn't cut it when we are in beta and about to ship version 1.
Anyway, when I do create my own webpage _base class layer, is there a way to get VS to use it automatically when I create a new web form?
Thanks,
BOb
BTW: You are very helpfull.
>BOb,
>
>>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.<
>
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement