Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
102 views
I'm using RadGrid from your latest ASP.NET AJAX controls suite.  I'm currently only using the UseStaticHeaders option and am doing nothing with Ajax but the grid still complains if I don't have ASP.NET's ScriptManager on the page.  Is there any way to remove this requirement when I'm not using Ajax? 

Also, given I'm using only UseStaticHeaders, I would like to NOT use EnabledEmbedScripts and only add the ones I really need to have the grid work properly.  Is there a reference somewhere that can tell me what I need to add?

I'm trying to trim the fat on the page so I can ensure it loads as fast as possible.  (Yes I know all of those resources are cached but it still takes ~ 1-2 seconds to reload the page from cache)
Vasil
Telerik team
 answered on 26 Oct 2012
1 answer
488 views
Hi,
I'm having issue when I run my website on the Reverse Proxy layer. It will display the following javascript error.

These error are displayed in the frontend view:
=> Message: 'Sys.WebForms.PageRequestManager' is null or not an object
=> Message: Sys.ArgumentTypeException: Object of type 'Sys._Application' cannot be converted to type 'Sys._Application'.
Parameter name: instance

These error are displayed in the backend view:
=> Message: 'Sys.WebForms.PageRequestManager' is null or not an object
=> Message: 'Telerik' is undefined
=> Message: Sys.ArgumentTypeException: Object of type 'Sys._Application' cannot be converted to type 'Sys._Application'.
Parameter name: instance

They are all pointing to the "ScriptResource.axd" file and default file (frontend and backend).

When I run the website on the application layer, there is no error as shown above.

Is there any configuration need to enable reverse proxy server(ARR) to work?

Sitefinity verison: 3.6

Thanks.
Karl Maynard
Top achievements
Rank 1
 answered on 26 Oct 2012
1 answer
58 views
In Scheduler control, I found it is displaying duplicate day in month view. Nov 4 is displaying two times on sun and monday. Please see my attachment. But other months looks fine
Plamen
Telerik team
 answered on 26 Oct 2012
7 answers
206 views
I am looking for guidance on how best to take an existing web app which is heavily-invested in RAD Ajax controls and transforming it to use the new Metro Touch skin.
I see that page layout will be affected because the touch components need to be larger (finger vs mouse pointer).

I also see that our reliance on Tooltip functionality might be complicated because there is no "hover" event that I know about. Although new to tablets, I do know that there are distinctions between taps, presses and "long presses" (press and hold).

It would be helpful for Telerik to provide some type of conversion or best-practices advice as the touch skins are evolved.

Please note that in our case, Kendo is not an option, nor are we creating native apps, rather a "standard" web-site that works reasonably well for touch users, while maintaining full capability for mouse/keyboard.
Bozhidar
Telerik team
 answered on 26 Oct 2012
5 answers
97 views
Hi,

   I have the RadScheduler for displaying events.Its working fine.
But ,While creating the appointment is 8 am to 9 am(Like this) or the whole day event the cell is not covered fully .
I had attached the Screenshot .Please give any suggestion

Thanks
Prabha
Plamen
Telerik team
 answered on 26 Oct 2012
4 answers
383 views
Hi everyone,
I have a problem with Radwindow: I use a radwindow as a popup/Waiting panel in my application and it opens inside an other radwindow containing an aspx page.
This popup/Waiting radwindow contains an aspx page.

With IE 9 there are not problems : the content of the popup/Waiting radwindow is correctly displayed and closed when the application finishes the loading.

With Firefox 16.0.1 and Chrome 22.0.1229.94 m the popup/Waiting radwindow is correctly shown and closed, but the content of the popup/Waiting radwindow is not displayed(Blank page)

My code for popup/Waiting radwindow content is the following
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Popup.aspx.vb" Inherits="Admin_AccountingManagement_Popup" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head id="Head1" runat="server">
    <title></title>   
</head>
<body>
    <form id="form1" runat="server" >
    <div style="vertical-align: middle">
    <table align="center">
     
    <tr>
    <td align="center">
    <asp:Image ID="ImageWait" runat="server" ImageAlign="Middle"
            ImageUrl="~/Admin/images/ajax-loader.gif" />
    </td>
    <td>
        <div id = "LabelConn" style="display: none" align="center">
        No Service connection
        </div>
    </td>
    </tr>
    <tr>
    <td>
    <asp:Label ID="LabelConnecting" runat="server" Text="Connecting...."
            Font-Size="X-Large"></asp:Label>
    </td>
    <td align="center">
        <input id="Button1" type="button" value="Close"  onclick="Close()" style="display: none"/>
    </td>
    </tr>
 
    </table>
    </div>
    </form>
</body>
</html>

The popup/Waiting radwindow is
<telerik:RadWindow runat="server"
                    Width="300"
                    Height="150"
                    VisibleStatusbar="false"
                    ID="AddWindow"
                    Modal="true"
                    KeepInScreenBounds="true"
                    Behaviors="Default"
                    Skin="Vista"
                    ReloadOnShow="True" VisibleTitlebar="false" VisibleOnPageLoad="False" ShowContentDuringLoad="True">
</telerik:RadWindow>
And the javascript used to open the popup/waiting radwindow is:
function Pop() {
 
            var wnd = $find("<%=AddWindow.ClientID%>");
            wnd.show();
            //wnd.setUrl("/Admin/Mailing/OpenRooms.aspx?IDMailing=" + IDMailing + "&SupplierID=" + IDSupplier);
            wnd.setUrl("/Admin/AccountingManagement/Popup.aspx");
             
        }

As attachement two screenshots of the problem: 1st for IE; 2nd for firefox/Chrome
Jean-Marc
Top achievements
Rank 1
 answered on 26 Oct 2012
1 answer
141 views
How can I catch double click event of scheduler cell and write my own code to redirect some other page? Is this possible on read only mode? If yes, how can we achieve this.

Thanks
Rajendra
Plamen
Telerik team
 answered on 26 Oct 2012
2 answers
131 views
In my asp page i have RadPanelbar which contains 2 list boxes and 1 RadTreeview and 1 Checklistbox. Below RadPanelBar i have RadGrid, which get re sized based on panel expand and collapse. I noticed that after binding listbox and treeview with database. Panel Expand takes time in internet explorer. Even UI looks merged in between transition.(Check ScreenShot, It slow such a way that i can take screen shot very easily :( )

Expand and collapse happening client side, so it's not doing trip to server during that operation, so why it takes time? It's all rendering time which is more in IE7?

Let me know any way i can make it faster? I already checked Optimizing article, which doesn't have anything specific to RadPanelBar or RadListBox

Thanks,
Neha Bhatt
Anil Nautiyal
Top achievements
Rank 1
 answered on 26 Oct 2012
1 answer
409 views
Hi,

I'm trying to configure the HttpHandlerUrl parameter for my RadAsyncUpload object.

I configureIt like this :
myAsyncUploader.HttpHandlerUrl  = ("~/loggedin/ImageHandler.ashx?CarId=" + CarId + "&PartnerId=" + PartnerId);

The problem I have always an exception :
 http://vab/loggedin/ImageHandler.ashx?CarId=936&PartnerId=4?type=rau"

...
Illegal characters in path
that's because of that "type=rau".

How can I pass my values from server side to that handler ?

How can I configure my RadAsyncUpload to avoid that "type=rau" ?

Thanks,


Plamen
Telerik team
 answered on 26 Oct 2012
1 answer
231 views
Hi,
   I have an Asp.net Gridview (not Telerik gridview),with checkbox in it. I have button(checkAll) on the top.
when i click the top button,it will check all the checkbox in the Gridview, and when i click on CheckBox inside Gridview
it should display Selected Item.

I have used AjaxLoading Panel, Now it is working only for Button click,
But it is not working for checkbox clicked.

Here is the Below Code :
  
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="DUMMY_Default" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">


     <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
     
         <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>


            <telerik:AjaxSetting AjaxControlID="btn1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="GridView1" />
               
                </UpdatedControls>
            </telerik:AjaxSetting>




            
            <telerik:AjaxSetting AjaxControlID="CheckBox1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="GridView1" />
               
                </UpdatedControls>
            </telerik:AjaxSetting>
            
         </AjaxSettings>
    </telerik:RadAjaxManager>

 <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
    </telerik:RadAjaxLoadingPanel>

 <div>
    <asp:Button ID="btn1" runat="server" Text="CheckAll" OnClick="btn1_Click" />
<asp:Panel ID="PanelGrid" runat="server">
    <asp:GridView ID="GridView1" runat="server" DataKeyNames="AnnouncementID"
     AutoGenerateColumns="false" OnRowDataBound="GridView1_OnRowDataBound"
      OnRowCommand="GridView1_OnRowCommand">
      <Columns>
      <asp:TemplateField>
      <ItemTemplate>
      <asp:CheckBox ID="CheckBox1" runat="server"  AutoPostBack="true" OnCheckedChanged="CheckBox1_OnCheckedChanged"/>
      </ItemTemplate>
      </asp:TemplateField>


      <asp:TemplateField>
      <ItemTemplate>
      <asp:Label ID="lblAnnouncementID" runat="server" Text='<%#Eval("AnnouncementID")%>'></asp:Label>
      <asp:LinkButton ID="lnkAnnouncementID" runat="server" Text="Edit" CommandName="Editing" CommandArgument='<%#Eval("AnnouncementID") %>'></asp:LinkButton>
      </ItemTemplate>
      </asp:TemplateField>


      <asp:TemplateField>
      <ItemTemplate>
      <asp:Label ID="lblTitle" runat="server"></asp:Label>
      </ItemTemplate>
      </asp:TemplateField>


      <asp:TemplateField>
      <ItemTemplate>
      <asp:Label id="lblMessage" runat="server"></asp:Label>
      </ItemTemplate>
      </asp:TemplateField>

 </Columns>
      </asp:GridView>
      </asp:Panel>


      <br />
     <asp:TreeView  
                ID="TreeView1"
                ExpandDepth="0" 
                PopulateNodesFromClient="true" 
                ShowLines="true" 
                ShowExpandCollapse="true" 
                runat="server"
               
                 OnSelectedNodeChanged="TreeView1_OnSelectedNodeChanged" />


                 <br />
                 <asp:Label ID="lblmsg" runat="server"></asp:Label>
    </div>
    </form>
</body>
</html>



Code Behind
--------------------
 protected void CheckBox1_OnCheckedChanged(object sender, EventArgs e)
    {
        CheckBox chk = (CheckBox)sender;
        if (chk.Checked)
        {
            lblmsg.Text = "CheckBox chaecked";
        }
    }


    protected void btn1_Click(object sender, EventArgs e)
    {
        foreach (GridViewRow row in GridView1.Rows)
        {
           // GridViewRow gvRow = (GridViewRow)GridView1.FindControl("GridView1");
            CheckBox CheckBox1 = (CheckBox)row.FindControl("CheckBox1");
            CheckBox1.Checked = true;
        }
    }


Please help me with this,Its very urgent,Awaiting for your response.

Regards,
  Prasad 
Eyup
Telerik team
 answered on 26 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?