Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
780 views
Hi,

We have a problem and strongly suspicious about telerik components about this request.

Our firewall and .net seem the below url as dangerous because of first & sign. We checked our scripts and codes which has a potential to generate such a url, but we couldn't find.

http://xxx/$$$&?&?$$$?cmd=get_file&arg=block_style.css&sid=2721D35AB490C1FAA14DC203E330729AE1AD88B7

Can you please check that your components may generate such a request url ?

We are getting first exception and then the second one, even we cannot find any strong relationship between them, they seems sequentially...

Telerik.Web.UI version : 2012.1.411.40
Telerik.Web.UI.Skins version : 2012.1.411.40
Telerik.Web.Design version : 2012.1.411.40

Thank you,
dogu

First exception:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 06.05.2014 08:48:24
Event time (UTC): 06.05.2014 05:48:24
Event ID: e2f92e7b72fb4fedbeacc2af4c66ffc3
Event sequence: 5897
Event occurrence: 4
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT-1-130438116095242020
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\inetpub\wwwroot\
    Machine name: xxx
 
Process information:
    Process ID: 9652
    Process name: w3wp.exe
    Account name: IIS APPPOOL\ASP.NET v4.0 DefaultAppPool
 
Exception information:
    Exception type: HttpException
    Exception message: A potentially dangerous Request.Path value was detected from the client (&).
   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)
 
Request information:
    Request URL: http://xxx/$$$&?&?$$$?cmd=get_file&arg=block_style.css&sid=2721D35AB490C1FAA14DC203E330729AE1AD88B7
    Request path: /$$$&?&?$$$
    User host address: 1.2.3.4
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: IIS APPPOOL\ASP.NET v4.0 DefaultAppPool
 
Thread information:
    Thread ID: 148
    Thread account name: IIS APPPOOL\ASP.NET v4.0 DefaultAppPool
    Is impersonating: False
    Stack trace:    at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)

Second Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Web.UI.RadCompression.GetCompressionSettingAttribute()
   at Telerik.Web.UI.RadCompression.ShouldApplyOnPostback()
   at Telerik.Web.UI.RadCompression.ShouldExplicitlyAddContentEncoding()
   at Telerik.Web.UI.RadCompression.application_EndRequest(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Dogu
Top achievements
Rank 1
 answered on 08 May 2014
3 answers
161 views
I have done this repeadedly in other grid but for some reason when I transformed to C# nothing seems to work for me when I try to translate VB ways to C# ways, The code is differenet but the functionality of grid stays the same.  I am trying to populate the Dropwdown list from a database which is successful, however i want to assign and id from the database to the drowpdownlist and its not working it will not assign at all.  Works fine in Vb, but C# no go.


<EditFormSettings EditFormType="Template">
                <FormTemplate>
                    <table style="width:100%;background-color:antiquewhite">
                        <tr>
                            <td style="height:10px"></td>
                        </tr>
                        <tr>
                            <td style="width:10%;text-align:right">Name: </td>
                            <td style="width:90%;text-align:left"><asp:Label ID="lblName" runat="server" Text='<%#Bind("TokenFor") %>'></asp:Label></td>
                        </tr>
                        <tr>
                            <td style="height:3px"></td>
                        </tr>
                          <tr>
                            <td style="width:10%;text-align:right">Persona: </td>
                            <td style="width:90%;text-align:left"><asp:DropDownList ID="ddlPersona" runat="server"></asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td style="height:3px"></td>
                        </tr>
                        <tr>
                            <td style="width:10%;text-align:right">Email: </td>
                            <td style="width:90%;text-align:left"><asp:TextBox ID="txtEmail" runat="server" Text='<%#Bind("strTokenEmail") %>' Width="260px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="height:3px"></td>
                        </tr>
                        <tr>
                            <td style="width:10%;text-align:right">Phone: </td>
                            <td style="width:90%;text-align:left"><asp:TextBox ID="txtPhone" runat="server" Text='<%#Bind("strPhoneNum") %>'></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="height:20px"></td>
                        </tr>
                         <tr>
                            <td style="height:3px"></td>
                        </tr>
                        <tr>
                            <td style="width:10%;text-align:right">Location: </td>
                            <td style="width:90%;text-align:left"><asp:DropDownList ID="ddlLocation" runat="server"></asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td style="height:3px"></td>
                        </tr>
                        <tr>
                            <td style="width:10%;text-align:right"></td>
                            <td style="width:90%;text-align:left">
                                 <asp:LinkButton ID="lnkSubmit" runat="server" Text='<%# ((bool)DataBinder.Eval(Container, "OwnerTableView.IsItemInserted")) ? "Insert" : "Update" %>'
                                   CommandName='<%# ((bool)DataBinder.Eval(Container, "OwnerTableView.IsItemInserted")) ? "PerformInsert" : "Update" %>'>
                                 </asp:LinkButton>
                                       
                                  <asp:LinkButton ID="lnkCancel" runat="server" CausesValidation="false" CommandName="Cancel" Text="Cancel"></asp:LinkButton>
                            </td>
                        </tr>
                        <tr>
                            <td style="height:10px"></td>
                        </tr>
                    </table>
                </FormTemplate>
            </EditFormSettings>
 
 
 
 protected void myRadGrid_ItemDataBound(object sender, GridItemEventArgs e)
    {
        if ((e.Item is GridEditFormItem) && (e.Item.IsInEditMode))
        {
            GridEditFormItem item = (GridEditFormItem)e.Item;
            DropDownList ddlLocation = (DropDownList)item.FindControl("ddlLocation");
            DropDownList ddlPersona = (DropDownList)item.FindControl("ddlPersona");
 
            sql = "Select intPersonaId, strPersonaLtr + ' - ' + strPersona Persona from tblPersona where bitActive = 1";
            ddlPersona.DataSource = c.GetReader(sql);
            ddlPersona.DataTextField = "Persona";
            ddlPersona.DataValueField = "intPersonaId";
            ddlPersona.DataBind();
            ddlPersona.SelectedValue = (string)DataBinder.Eval(e.Item.DataItem, "intPersonaId").ToString();
 
            sql = "Select intLocationId, strLocation from tblLocations where bitActive = 1";
            ddlLocation.DataSource = c.GetReader(sql);
            ddlLocation.DataTextField = "strLocation";
            ddlLocation.DataValueField = "intLocationId";
            ddlLocation.Items.Add(new ListItem("Pick Location", "0"));
            ddlLocation.DataBind();
            ddlLocation.SelectedValue = (string)DataBinder.Eval(e.Item.DataItem, "intLocationTokenId").ToString();
        }





















Kevin
Top achievements
Rank 1
 answered on 08 May 2014
3 answers
122 views
hello to all


i have a web page that load user control ,a user control  sometime contain datagrid ,  chart, ....

my problem when the usercontrol contain dock every thing is fine untill the user move the dock then when the user select another webcontrol  to load that time dock is still showing on  the page .
i will post code if necessary but beacuse the project is big thats why i try to get help without code

thanks
 


 
Danail Vasilev
Telerik team
 answered on 08 May 2014
4 answers
166 views
When I attempt to change the width of one of my columns, all the columns change. I'v tried Headers, Footers and Items with the same effect.

 Why is this happening?

Any thoughts?

Tom
Tom
Top achievements
Rank 1
 answered on 08 May 2014
1 answer
746 views
Hi,

We have a problem and strongly suspicious about telerik components about this request.

Our firewall and .net seem the below url as dangerous because of first & sign. We checked our scripts and codes which has a potential to generate such a url, but we couldn't find.

http://xxx/$$$&?&?$$$?cmd=get_file&arg=block_style.css&sid=2721D35AB490C1FAA14DC203E330729AE1AD88B7

Can you please check that your components may generate such a request url ?

We are getting first exception and then the second one, even we cannot find any strong relationship between them, they seems sequentially...

Telerik.Web.UI version : 2012.1.411.40
Telerik.Web.UI.Skins version : 2012.1.411.40
Telerik.Web.Design version : 2012.1.411.40

Thank you,
dogu

First exception:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 06.05.2014 08:48:24
Event time (UTC): 06.05.2014 05:48:24
Event ID: e2f92e7b72fb4fedbeacc2af4c66ffc3
Event sequence: 5897
Event occurrence: 4
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT-1-130438116095242020
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\inetpub\wwwroot\
    Machine name: xxx
 
Process information:
    Process ID: 9652
    Process name: w3wp.exe
    Account name: IIS APPPOOL\ASP.NET v4.0 DefaultAppPool
 
Exception information:
    Exception type: HttpException
    Exception message: A potentially dangerous Request.Path value was detected from the client (&).
   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)
 
Request information:
    Request URL: http://xxx/$$$&?&?$$$?cmd=get_file&arg=block_style.css&sid=2721D35AB490C1FAA14DC203E330729AE1AD88B7
    Request path: /$$$&?&?$$$
    User host address: 1.2.3.4
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: IIS APPPOOL\ASP.NET v4.0 DefaultAppPool
 
Thread information:
    Thread ID: 148
    Thread account name: IIS APPPOOL\ASP.NET v4.0 DefaultAppPool
    Is impersonating: False
    Stack trace:    at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)

Second Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Web.UI.RadCompression.GetCompressionSettingAttribute()
   at Telerik.Web.UI.RadCompression.ShouldApplyOnPostback()
   at Telerik.Web.UI.RadCompression.ShouldExplicitlyAddContentEncoding()
   at Telerik.Web.UI.RadCompression.application_EndRequest(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Marin Bratanov
Telerik team
 answered on 08 May 2014
1 answer
61 views
When you add a symbol to the end of a line in IE, the cursor moves down to the next line.  This behavior does not exist in FF or Chrome, and it did not exist for IE in previous versions of the Editor.

Here is a video demonstrating the problem using the Telerik demo editor.

http://screencast.com/t/9S0TjfZzyFqj

Please advise on a solution to this problem.

Thanks,
Trevor.
Vessy
Telerik team
 answered on 08 May 2014
4 answers
162 views
The problem can be seen on the demo editor.

On iOS, tap the "Insert Table" toolbar button to add a table to the editor content window,
Notice that the new table is 'selected',
If you tap somewhere else in the content window, the table remains selected

In a desktop browser, the table will become deselected as soon as you click elsewhere in the content window.  On Android, the table becomes deselected as soon as you tap elsewhere in the content window.

Can I get a solution to this problem?

Thanks,
Trevor.
Joana
Telerik team
 answered on 08 May 2014
3 answers
357 views
Hi, when one of the controls of the FormTemplate has RequiredFieldValidator, clicking edit or Add new record not working. I am getting error:
"NetworkError:
500 Internal Server Error -
http:.../ScriptResource.axd?d=nv7asgRUU0tRmHNR2D6t1B_9fiS5OJY3KTRMAF4D17Hlkgb15LTvxIFD9V60xX_vkRJU81TFs8HNZhyOtmOQ3BeUAV6sJwN0m6XD0jm6Dg-1FSTXmC_cPUhXqUD-lmHVpRtmvKgLT4XLk7tOAE-VhQ2&t=362a7238"
When setting property EnableClientScript="False" it works.

I cannot use Client validation with RadGrid?

Regards,
Lev Rakhman
Konstantin Dikov
Telerik team
 answered on 08 May 2014
10 answers
260 views
Hello,
When I try to use a RadToolBar with a RadToolBarButton OuterCssClass="rightButton", The bouton is not in the good position. (see attched file). I have Internet Explorer 7.0.5730.13. is it a problem of IE ?

Regards
Bernard

div.RadToolBar .rtbUL
{
    width: 100%;
}
div.RadToolBar .rightButton
{
     float: right;
}
<telerik:RadToolBar ID="toolBar" runat="server" BackColor="White" Width="850px" AutoPostBack="True"
  
OnButtonClick="toolBar_ButtonClick">
  
<Items>
  
<telerik:RadToolBarButton runat="server" ToolTip="Slection" Value="RET" ImageUrl="~/images/Retour.gif">
  
</telerik:RadToolBarButton>
  
<telerik:RadToolBarButton runat="server" ToolTip="Affichage Ua" Value="DUA" ImageUrl="~/images/DescrUA.gif"
  
Enabled="False">
  
</telerik:RadToolBarButton>
  
<telerik:RadToolBarButton runat="server" ToolTip="Mettre dans la corbeille" Value="OK"
  
ImageUrl="~/images/Valider.gif" OuterCssClass="rightButton">
  
</telerik:RadToolBarButton>
  
</Items>
  
</telerik:RadToolBar>
jlj30
Top achievements
Rank 2
 answered on 08 May 2014
1 answer
233 views
Hi.
how to change the filter icon image in radgrid. I want to set a different icon image.
Princy
Top achievements
Rank 2
 answered on 08 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?