Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
92 views
Hi,

Maybe this case doesn't occur to often, but if localizing the calendar texts and setting any text to "</script>", there will be a script error.

Example:
<telerik:RadCalendar ID="rc1" runat="server">
            <FastNavigationSettings OkButtonCaption="</script>">
            </FastNavigationSettings>
        </telerik:RadCalendar>

The only thing I can see that may be wrong in the output is that the slash should be replaced with "\/". The funny thing is that if typing any other text than "script" seems ok. Both IE9 and Firefox 4 reports this scripting error:
unterminated string literal

Regards
Caesar
Pavel
Telerik team
 answered on 16 Jun 2011
2 answers
179 views
Hello,

I'm struggling with the individual validation of my tabs. I browser the internet and the telerikforums but i wom't get it to work.

I have the following tabstrip :

<telerik:RadTabStrip ID="tabManagement" runat="server" MultiPageID="mpManagement"
                SelectedIndex="0" CausesValidation="true" OnClientTabSelected="UpdateValidationGroup">
                <Tabs>
                    <telerik:RadTab Text="Algemeen" Value="Algemeen">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Contactpersoon" Value="Contactpersoon">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Adresgegevens" Value="Adresgegevens">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Openingstijden" Value="Openingstijden">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Winkelpagina" Value="Winkelpagina">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Instellingen webshop" Value="InstellingenWebshop">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Google" Value="Google">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Statistieken" Value="Statistieken">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Account" Value="Account">
                    </telerik:RadTab>
                </Tabs>
 </telerik:RadTabStrip>

On the clientevent TabSelected I run the script:
function UpdateValidationGroup(tabStrip, eventArgs) {

        var selectedTab = tabStrip.get_selectedTab();
        if (selectedTab != null) {
            tabStrip.ValidationGroup = selectedTab.get_value();
        }
    } 

I use the Value-property of the selectedtab to set the validationgroup. That works fine. The validationgroup of validationcontrols in the RadPageViews have the same name as the Value-property of the selected tab. In my tab itself the validation fires but I can still navigate to another tab even when validation is false. What I want is that I cannot navigate to another tab as long as one of my validators in my selected tab is false.

When I hardcode the validationgroup of my TabStrip then it works fine.

Can anyone tell me what I'm doing wrong.

Thx

Patrick
Patrick
Top achievements
Rank 1
 answered on 16 Jun 2011
1 answer
57 views

Hi,
i am Srinivas

In my project i have a RadGrid View for Displaying a Backend Table Data and also modify data in that RadGrid. Here my problem in RadGrid is i have a number of page in Radgrid if i modify the data in one page and then go to next page then automatically Radgrid  refresh the data and clear  all the modification in that page..

here i am used NeedDataSource  for bind the Radgrid. when every time i can change my Radgrid page the arithmetically refresh the page.

Please help me how can i hold these modification and how can i change the page in Radgrid page.

the following is the screenshots for RadGrid operations...  

  In my first page some operations are done.. and then go to second page and do some operations in that page after i return to first page all the modifications are cleared.. 

Please help me....

Thanks

D.Srinivasa
Princy
Top achievements
Rank 2
 answered on 16 Jun 2011
11 answers
131 views

Hi,

 

Please find attached screen shots. Here we are using a Telerik Rad Editor web part. The attached screens shots, one from design view and another is published view. In both the cases alignment of the content differs.

 

Request you to please provide the resolution steps.

Stanimir
Telerik team
 answered on 16 Jun 2011
1 answer
146 views
The GridDropDownColumn is working perfectly other than displaying the values from the database.  The Dropdownlist is populated in edit mode and it inserts to the database just fine, but when i just try to display that info from the database in the column it doesn't show anything.

Grid:
<telerik:RadGrid ID="rg_Collateral" runat="server" Width="450px" AllowSorting="true"
                                                    GridLines="Both" AllowAutomaticDeletes="true" AllowAutomaticInserts="true" AllowAutomaticUpdates="true"
                                                    PageSize="5" AllowPaging="true" AutoGenerateColumns="false" Skin="Simple" DataSourceID="collateral_Entity"
                                                    OnItemDataBound="rg_Collateral_ItemDataBound" Font-Names="Calibri">
                                                    <MasterTableView Width="100%" CommandItemDisplay="Top">
                                                        <Columns>
                                                            <telerik:GridBoundColumn DataField="USERID" HeaderText="User ID" UniqueName="userid"
                                                                ReadOnly="true" Display="false" />
                                                            <telerik:GridBoundColumn DataField="CONUM" HeaderText="CoNum" UniqueName="conum"
                                                                ReadOnly="true" Display="false" />
                                                            <telerik:GridBoundColumn DataField="DATEENTERED" HeaderText="Date Ent." UniqueName="dateEntered"
                                                                ReadOnly="true" DataFormatString="{0:MM/dd/yyyy}" />
                                                            <telerik:GridDateTimeColumn DataField="RELEASED" HeaderText="Date Rel." UniqueName="dateReleased"
                                                                DataFormatString="{0:MM/dd/yyyy}" />
                                                            <telerik:GridDropDownColumn DataField="COLLATERALTYPE" HeaderText="Type" UniqueName="type"
                                                                DropDownControlType="DropDownList" />
                                                            <telerik:GridNumericColumn DataField="COLLATERALAMT" HeaderText="Collateralamt" UniqueName="collateralamt" />
                                                            <telerik:GridDateTimeColumn DataField="EXPDATE" HeaderText="Date Exp." UniqueName="dateExpired"
                                                                DataFormatString="{0:MM/dd/yyyy}" />
                                                            <telerik:GridBoundColumn DataField="AUTORENEW" HeaderText="Auto Ren." UniqueName="autoRenew"
                                                                Display="false" />
                                                            <telerik:GridBoundColumn DataField="BONDNUM" HeaderText="bond #" UniqueName="bondNumber"
                                                                ReadOnly="true" />
                                                            <telerik:GridBoundColumn DataField="DESCRIPTION" HeaderText="Desc." UniqueName="description" />
                                                        </Columns>
                                                    </MasterTableView>
                                                    <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                </telerik:RadGrid>

ItemDataBound
protected void rg_Collateral_ItemDataBound(object sender, GridItemEventArgs e)
        {
            hdBondnum.Value = txt_BondNumber.Text;
            hdConum.Value = txt_AccountNumber.Text;
            hduserid.Value = Membership.GetUser().ToString();
            if ((e.Item is GridEditFormInsertItem) && (e.Item.OwnerTableView.IsItemInserted))
            {
                GridEditFormInsertItem insertItem = (GridEditFormInsertItem)e.Item;
                TextBox txtbx = (TextBox)insertItem["userid"].Controls[0];
                TextBox txtbx2 = (TextBox)insertItem["conum"].Controls[0];
                TextBox txtbx3 = (TextBox)insertItem["dateEntered"].Controls[0];
                TextBox txtbx4 = (TextBox)insertItem["bondNumber"].Controls[0];
 
                GridEditableItem editItem = e.Item as GridEditableItem; 
                GridEditManager editMgr = editItem.EditManager;
                GridDropDownListColumnEditor colEditor = editMgr.GetColumnEditor("type") as GridDropDownListColumnEditor;
                string s = colEditor.SelectedValue;
                colEditor.DataSource = UtilityBond.getCollateralType();
                colEditor.DataBind(); 
 
                txtbx.Text = hduserid.Value;
                txtbx2.Text = hdConum.Value;
                txtbx3.Text = String.Format("{0:M/d/yyyy}", DateTime.Today.Date);
                txtbx4.Text = hdBondnum.Value;
            }
        }

The CollateralType is the only column that is not displaying any data in the grid.
Tsvetoslav
Telerik team
 answered on 16 Jun 2011
2 answers
210 views
I have a page that is adding the rotator control after an async postback.
The problem is that the rotator's styles are not loading properly  when I do this.
For instance, the rrItemsList height & width are huge numbers causing it to continuously scroll to empty pages.
If I add the control and a regular postback, then the styles are fine.
Shonda
Top achievements
Rank 1
 answered on 16 Jun 2011
2 answers
113 views
Does anyone know why radgrid export to CSV is trimming the trailing spaces from the CSV output and how to work around this issue?


grdExport.ExportSettings.ExportOnlyData = true;
grdExport.ExportSettings.IgnorePaging = true;
grdExport.ExportSettings.OpenInNewWindow = true;
grdExport.ExportSettings.FileName = DateTime.Now.ToString("yyyyMMdd") + filename;
grdExport.MasterTableView.ExportToCSV();
John Cruz
Top achievements
Rank 1
 answered on 15 Jun 2011
1 answer
57 views
Hey guys, did a search of the forums and haven't found exactly what I needed so I figured I would ask here.

I am using databinding to hydrate my radgrid and everything was working fine.  The problem started when I wanted to sort and filter the grid.

I realized quickly the need for a NeedDataSource sub and put it to use.  However when I attempted to clean up the code and put my logic in its own sub, I run into problems.  If I throw the code from the hydrategrid sub into the NeedDataSource sub, as well as the button click sub the page sorts fine.

If I break the code into the HydrateGrid sub then when I hit the sort button or apply a filter, the grid shows empty.

I have simplified the HydrateGrid sub but here is my code:

Protected Sub HydrateGrid(ByVal bindit As Boolean)
Try
radgrdResults.DataSource = searchvalues.Fetch(gd)
                If bindit = True Then
                    radgrdResults.DataBind()
                End If
            Catch ex As Exception
                Throw ex
            End Try
 
        End Sub
 
Protected Sub searchButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles searchButton.Click
            Try
                ' hydrate grid with data
                HydrateGrid(True)
            Catch ex As Exception
                Throw ex
            End Try
             
        End Sub
        Protected Sub radgrdResults_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs)
            Try
                ' Hydrate grid with data but don't bind
                HydrateGrid(False)
            Catch ex As Exception
                Throw ex
            End Try
 
        End Sub

John
Top achievements
Rank 1
 answered on 15 Jun 2011
7 answers
369 views

 

I can insert my custom css inside editor's document/head object like

<telerik:radeditor runat="server" ID="RadEditor1" >

<CssFiles>

   <telerik:EditorCssFile Value="mycss.css" />

</CssFiles>

</telerik:radeditor>

 

 

 

Similarly I want to insert my custom javascript inside editor's document. How can I do this?

I have developed some custom tools, like my own image and when user mouseovers the image in editor I want to display some alignment buttons or information icons on it. So I have written the code on mouseover-out etc events in my custom js file.

Cary Abramoff
Top achievements
Rank 1
 answered on 15 Jun 2011
4 answers
427 views

When i added the URL Rewrite 2.0 Rules in my Web.config I will get this all javascript error.

Here is the error list.

1. SEC7113: CSS was ignored due to mime type mismatch
Telerik.Web.UI.WebResource.axd?compress=2&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2010.3.1109.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a62e881c6-518e-447d-b6e7-1af83cb2d164%3aed2942d4%3aaac1aeb7%3ac73cf106%3a1c2121e%3a45085116%3a92753c09

2. SCRIPT1002: Syntax error
WebResource.axd?d=76h3chgMDeuwVkOJRxrXKPdiRaAx6mnmD5faQK46uvA2puN3NMOSVePjou_MKf7tbu5T5LdPqEz0elRtlNX-S7IbOVQ1&t=634245478914809245, line 2 character 1

3. SCRIPT1002: Syntax error
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=s_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a111e8464-2436-44db-9b34-0d84ed5253c8%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.3.1109.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a62e881c6-518e-447d-b6e7-1af83cb2d164%3ae330518b%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3ac8618e41%3aed16cbdc%3ab7778d6c%3af46195d3%3aaa288e2d%3a874f8ea2%3a19620875%3a490a9d4e%3abd8f85e4, line 2 character 1

4. SCRIPT1002: Syntax error
WebResource.axd?d=YPFzg87qIv5O6L9HabjpypASU2W-G68XNC3_83-EFCOUtVDwf0TZS_P4doTRBDwNUC7_w3J-26GzJSKk-IFo0ue7kqE1&t=634245478914809245, line 2 character 1

5. SCRIPT5009: 'Sys' is undefined
www.spacem.com, line 72 character 1

6. SCRIPT5009: 'Sys' is undefined
www.spacem.com, line 759 character 25

7. SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
www.spacem.com

Here is my Web.Config

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <configSections>
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                </sectionGroup>
            </sectionGroup>
        </sectionGroup>
    </configSections>
    <appSettings>
        <add key="send_email_newsletter" value="true" />
        <add key="newsletter_email" value="test@ximnet.com.my" />
        <add key="Telerik.Web.UI.DialogParametersEncryptionKey" value="6DC4AD6A-63D6-4db9-A3FB-3A8C39A6846D" />
        <add key="send_email" value="true" />
        <add key="emailFormat" value="true" />
        <add key="sales_email" value="orders@spacem.com.au" />
        <!--from email when sending order confirmation to customer-->
        <add key="from_order_email" value="orders@spacem.com.au" />
        <!--email when sending order confirmation to sales-->
        <add key="to_order_email" value="orders@spacem.com.au" />
        <!--from email when sending shipping code to customer-->
        <add key="from_email_shipping_code" value="orders@spacem.com.au" />
        <add key="from_email" value="test@ximnet.com.my" />
        <add key="mediaEnquiriesSender" value="info@spacem.com.au" />
        <add key="mediaEnquiries" value="info@spacem.com.au" />
        <add key="commentAbuse" value="alan.gan@spacem.com.au" />
        <add key="admin_email" value="alan@spacem.com.au" />
        <add key="facebook" value="http://www.facebook.com/spacemstore" />
        <add key="twitter" value="http://twitter.com/#!/SPACE__M" />
        <add key="blogspot" value="http://www.spacemblog.blogspot.com/" />
        <add key="developerMode" value="True" />
        <!-- start misc setting -->
        <add key="app_name" value="SpaceM" />
        <add key="codeName" value="spacem_d01" />
        <add key="urlRewrite" value="true" />
        <add key="login_url" value="http://develop.alchemedia-01.ximnet.my/spacem_d01/xtopia/default.aspx" />
        <add key="apps_url" value="http://develop.alchemedia-01.ximnet.my/spacem_d01/" />
        <!--website ID-->
 
        <!--SET the Path for xtopia Property-->
        <add key="member_login_url" value="http://develop.alchemedia-01.ximnet.my/spacem_d01/login.aspx" />
        <add key="survey_link" value="http://develop.alchemedia-01.ximnet.my/spacem_d01/" />
        <add key="spaceM_images_url" value="images/Products/" />
        <add key="websiteID" value="3309988f-fe41-48ce-8517-ff84bfa77433" />
        <!-- end misc setting -->
    </appSettings>
    <connectionStrings>
 </connectionStrings>
    <system.web>
        <!--
            Visual Basic options:
            Set strict="true" to disallow all data type conversions
            where data loss can occur.
            Set explicit="true" to force declaration of all variables.
        -->
        <compilation debug="false" strict="false" explicit="true">
            <assemblies>
                <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            </assemblies>
        </compilation>
        <!--
          The <authentication> section enables configuration
          of the security authentication mode used by
          ASP.NET to identify an incoming user.
        -->
        <authentication mode="Windows" />
        <!--
           The <customErrors> section enables configuration
           of what to do if/when an unhandled error occurs
           during the execution of a request. Specifically,
           it enables developers to configure html error pages
           to be displayed in place of a error stack trace.
 
           <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
             <error statusCode="403" redirect="NoAccess.htm" />
             <error statusCode="404" redirect="FileNotFound.htm" />
           </customErrors>
        -->
        <pages>
            <namespaces>
                <clear />
                <add namespace="System" />
                <add namespace="System.Collections" />
                <add namespace="System.Collections.Generic" />
                <add namespace="System.Collections.Specialized" />
                <add namespace="System.Configuration" />
                <add namespace="System.Text" />
                <add namespace="System.Text.RegularExpressions" />
                <add namespace="System.Linq" />
                <add namespace="System.Xml.Linq" />
                <add namespace="System.Web" />
                <add namespace="System.Web.Caching" />
                <add namespace="System.Web.SessionState" />
                <add namespace="System.Web.Security" />
                <add namespace="System.Web.Profile" />
                <add namespace="System.Web.UI" />
                <add namespace="System.Web.UI.WebControls" />
                <add namespace="System.Web.UI.WebControls.WebParts" />
                <add namespace="System.Web.UI.HtmlControls" />
            </namespaces>
            <controls>
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            </controls>
        </pages>
        <httpHandlers>
            <remove verb="*" path="*.asmx" />
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
        </httpHandlers>
        <httpModules>
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </httpModules>
    </system.web>
    <system.codedom>
        <compilers>
            <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <providerOption name="CompilerVersion" value="v3.5" />
                <providerOption name="WarnAsError" value="false" />
            </compiler>
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <providerOption name="CompilerVersion" value="v3.5" />
                <providerOption name="OptionInfer" value="true" />
                <providerOption name="WarnAsError" value="false" />
            </compiler>
        </compilers>
    </system.codedom>
    <!--
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
    -->
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules>
            <remove name="ScriptModule" />
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </modules>
        <handlers>
            <remove name="WebServiceHandlerFactory-Integrated" />
            <remove name="ScriptHandlerFactory" />
            <remove name="ScriptHandlerFactoryAppServices" />
            <remove name="ScriptResource" />
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
        </handlers>
        <defaultDocument>
            <files>
                <clear />
                <add value="default.aspx" />
            </files>
        </defaultDocument>
        <rewrite>
            <rules>
                <clear />
                <rule name="RewriteUserFriendlyURL1" stopProcessing="true">
                    <match url="^([^/]+)/?$" />
                    <conditions>
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        <!--  The following condition prevents rule from rewriting requests to .axd files -->
                        <add input="{URL}" negate="true" pattern="\.axd$" />
                    </conditions>
                    <action type="Rewrite" url="product_list.aspx?MainTypeName={R:1}" />
                </rule>
                <rule name="RewriteUserFriendlyURL2" stopProcessing="true">
                    <match url="^([^/]+)/?$" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="product_list.aspx?MainTypeName={R:1}" />
                </rule>
            </rules>
        </rewrite>
        <urlCompression doStaticCompression="false" doDynamicCompression="false" />
    </system.webServer>
    <runtime>
        <assemblyBinding appliesTo="v2.0.50727" xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
            </dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
</configuration>

Dave Navarro
Top achievements
Rank 2
 answered on 15 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?