Ask a Question related to ASP.NET General, Design and Development.
-
Art Thomas #1
Forcing .NET to render the '/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js' on the web page
We are using our own custom JavaScript validation as well as .Net
validation. However, when we include our custom validation on a page,
..NET does not render/write the
'/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js' path on the
page. If we do not include our own custom JavaScript validation, .NET
DOES render/write the
'/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js' path on the
page.
I would like to make sure the path gets rendered automatically. Can I
force this to happen? I do not want to hardcode the path on the page.
I would also settle for setting it dynamically. However, I have been
unsuccessful reading the path from the machine.config file and rendering
the path
<webControls clientScriptsLocation="/aspnet_client/{0}/{1}/"/>
Any thoughts.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Art Thomas Guest
-
Forcing a page NOT to load from cache
I have tried: <cfoutput> <cfheader name="expires" value="#now()#"> <cfheader name="pragma" value="no-cache"> <cfheader name="cache-control"... -
CFMX fails to render any CFM page
I'm running an IIS 6.0 server with Cold Fusion MX 6.2 server. Everytime I try to load a .CFM document with a browser, the page is rendered blank. ... -
Datagrid render column headings. ASPX Page Model. Events
I have written a usercontrol which I drop onto aspx pages in my project, this usercontrol performs changes on the content of various aspx controls... -
Forcing Page Postback at END of event (while retaining viewstate)
I have a page that reads values from an XML file to display to the user. The page also has a control panel that allows administrators to update the... -
aspnet_client folder
Hi All, Is there a way to put aspnet_client direcotry under a particular virtual directory instead of the web root We have two sites hosted... -
William F. Robertson, Jr. #2
Re: Forcing .NET to render the '/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js' on the web page
When/How are you rendering your own validation to the page?
bill
"Art Thomas" <kedroski@eglin.af.mil> wrote in message
news:uybUlQsUDHA.2564@tk2msftngp13.phx.gbl...> We are using our own custom JavaScript validation as well as .Net
> validation. However, when we include our custom validation on a page,
> NET does not render/write the
> '/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js' path on the
> page. If we do not include our own custom JavaScript validation, .NET
> DOES render/write the
> '/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js' path on the
> page.
>
> I would like to make sure the path gets rendered automatically. Can I
> force this to happen? I do not want to hardcode the path on the page.
> I would also settle for setting it dynamically. However, I have been
> unsuccessful reading the path from the machine.config file and rendering
> the path
> <webControls clientScriptsLocation="/aspnet_client/{0}/{1}/"/>
>
> Any thoughts.
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
William F. Robertson, Jr. Guest
-
Art Thomas #3
Re: Forcing .NET to render the '/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js' on the web page
For our custom validation we are including the custom javascript in the
header tag of ASP.NET pages. However, I want to clarify what I mean
when I say rendering. I consider the dynamic creation and inclusion of
the '/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js' path on
the page rendering. We DO NOT do this. I was relying on .NET to handle
this.
For our validation, the javascript code is on the page. Some of our
fields incorporate the required field validation included as part of
.NET. This is the code that is looking for the path to the use
"WebUIValidation.js" page but the path was never rendered to the page.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Art Thomas Guest
-
Art Thomas #4
Re: Forcing .NET to render the '/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js' on the web page
When using a ASP.NET CustomValidator, which runs client-side javascript,
and using other ASP.NET validators (i.e. RequiredField, Compare, etc.)
the <script language="javascript"
src="http://servername/aspnet_client/system_web/1_0_3705_0/WebUIValidati
on.js"></script> tag needed for the other .NET validators to work is not
rendered. On other pages without the ASP.NET CustomValidator that tag
is rendered. This is the only difference we can find between pages that
function properly and the ones that don't. I interpret what you meant
by BaseValidator as an ASP.NET validator that comes with the IDE. It
seems there should be a simple way to trigger the rendering of this tag
on a page with a CustomValidator considering it is rendered
automatically on other pages.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Art Thomas Guest



Reply With Quote

