Stories recently tagged with 'ScriptManager'

A Simple ScriptManager for ASP.NET MVC(pietschsoft.com)

submitted by crpietschmanncrpietschmann(11.3k) 2 years, 7 months ago

The ASP.NET AJAX ScriptManager makes it really easy to include JavaScript references and register JavaScript blocks into the rendered Page output of an ASP.NET WebForms application. However nice the ScriptManager control is, it’s still just a WebForms control for use with ASP.NET AJAX; thus it’s use isn’t really supported with ASP.NET MVC. Also, to make things just a little more difficult, ASP.NET MVC doesn’t have it’s own “ScriptManager” implementation. This brings me to the point of posting this… I have worked out a really simple “ScriptManager” component for use with ASP.NET MVC, and I think it works really nice to help simplify the effort of including JavaScript blocks and references in a page read more...

add a comment |category: |Views: 46

tags: another

A Simple ScriptManager for ASP.NET MVC(pietschsoft.com)

submitted by crpietschmanncrpietschmann(11.3k) 2 years, 9 months ago

The ASP.NET AJAX ScriptManager makes it really easy to include JavaScript references and register JavaScript blocks into the rendered Page output of an ASP.NET WebForms application. However nice the ScriptManager control is, it’s still just a WebForms control for use with ASP.NET AJAX; thus it’s use isn’t really supported with ASP.NET MVC. Also, to make things just a little more difficult, ASP.NET MVC doesn’t have it’s own “ScriptManager” implementation. This brings me to the point of posting this… I have worked out a really simple “ScriptManager” component for use with ASP.NET MVC, and I think it works really nice to help simplify the effort of including JavaScript blocks and references in a page. read more...

add a comment |category: |Views: 179

tags: another

run jQuery code from ASP.NET Server-Side(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 11 months ago

The post is the example of an approach: how you would run some jQuery code from ASP.NET code-behind (server-side). If there is a ScriptManager on the page and the request was Asynchronous, then the JavaScript code needs to be registered with ScriptManager.RegisterClientScriptBlock. If the request is just a simple standard Postback, registering the JavaScript with Page.ClientScript.RegisterClientScriptBlock is the solution. read more...

add a comment |category: |Views: 102

tags: another

Cool ScriptManager stuff I missed...(theruntime.com)

submitted by crpietschmanncrpietschmann(11.3k) 3 years, 11 months ago

So the last week or so I have been doing some heavy handed UpdatePanel development (stuff where I needed to fix an existing form that needs help to support an UpdatePanel or stuff where I needed to do something special while the page was posting back asyncronously). In the midst I discovered some cool mechanisms that I missed! read more...

add a comment |category: |Views: 46

tags: another

Accessing a MasterPage ScriptManager from a Content Page(aspadvice.com)

submitted by benrickbenrick(1020) 4 years, 10 months ago

A blog post explaining how to Access a Script Manager on a MasterPage from within a Content Page. read more...

add a comment |category: |Views: 165

tags: another

EnableGlobalization property on the ScriptManager(blog.krisvandermast.com)

submitted by KvdMKvdM(1695) 5 years ago

enable globalization when playing around with the Calendar extender. read more...

add a comment |category: |Views: 26

tags: another