Hi,
i want to enable viewstate Compression in my Webapplication project.
I read the documentation but i think i do something wrong.
This is how my web.config looks like:
But i dont know where to enable the radcompression
In the documentation i read that i have to add the following parts in the web.config.
But it is not obvious where exactly. Tried several combinations without success. Page was blank most of the times.
Can you complete my web.config and make it working?
By The way: I'm working with Visual Web Developer 2010 Express
Thanks and best regards
i want to enable viewstate Compression in my Webapplication project.
I read the documentation but i think i do something wrong.
This is how my web.config looks like:
<?
xml
version
=
"1.0"
?>
<!--
Weitere Informationen zum Konfigurieren der ASP.NET-Anwendung finden Sie unter
-->
<
configuration
>
<
system.web
>
<
siteMap
defaultProvider
=
"default"
>
<
providers
>
<
clear
/>
<
add
name
=
"default"
type
=
"System.Web.XmlSiteMapProvider"
siteMapFile
=
"Web.sitemap"
securityTrimmingEnabled
=
"true"
/>
</
providers
>
</
siteMap
>
<
authentication
mode
=
"Forms"
>
<
forms
name
=
"AuthCookie"
loginUrl
=
"user_management\unregistered\Login.aspx"
protection
=
"All"
path
=
"/"
/>
</
authentication
>
<
httpHandlers
>
<
add
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
validate
=
"false"
/>
</
httpHandlers
>
<
httpModules
>
<
add
name
=
"RadCompression"
type
=
"Telerik.Web.UI.RadCompression"
/>
</
httpModules
>
</
system.web
>
<
system.webServer
>
<
modules
>
<
add
name
=
"RadCompression"
type
=
"Telerik.Web.UI.RadCompression"
/>
</
modules
>
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
<
handlers
>
<
add
name
=
"Telerik_Web_UI_WebResource_axd"
verb
=
"*"
preCondition
=
"integratedMode"
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
/>
</
handlers
>
</
system.webServer
>
</
configuration
>
But i dont know where to enable the radcompression
In the documentation i read that i have to add the following parts in the web.config.
<
configSections
>
....................
<
sectionGroup
name
=
"telerik.web.ui"
>
<
section
name
=
"radCompression"
type
=
"Telerik.Web.UI.RadCompressionConfigurationSection, Telerik.Web.UI, PublicKeyToken=121fae78165ba3d4"
allowDefinition
=
"MachineToApplication"
requirePermission
=
"false"
/>
</
sectionGroup
>
....................
</
configSections
>
<
telerik.web.ui
>
<
radCompression
enablePostbackCompression
=
"true"
/>
</
telerik.web.ui
>
But it is not obvious where exactly. Tried several combinations without success. Page was blank most of the times.
Can you complete my web.config and make it working?
By The way: I'm working with Visual Web Developer 2010 Express
Thanks and best regards