Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
110 views
Hi, if I develop a site for a company and use my developer licensed dll's. how can I make sure that the company doesn't use the dll's for themselves after? All they have to do ist to download them and use them ... Is there a way I can protect myself?
Thanks, Thomas
Boyan Dimitrov
Telerik team
 answered on 05 Dec 2012
1 answer
52 views
Hi,

Am working on a requirement in my application and came across this situation with the Grid FilterMenu during postbacks.
There is a SharePoint WebPart with a RadGrid which is being updated every 10 seconds using a Timer. Filtering is enabled on the grid is being updated in an Ajax way using RadAjaxManager.
The issue is that: when ever a user tries to enter something in the filter text box of a column and tries to select an option from the FilterMenu and if there is a partial postback caused by the timer before the user selects an menu item, the FilterMenu just collapses and has to be reopened to select an option. As the timer's interval is set to 10 seconds, the user has a maximum of just 9 seconds to enter something in the filter text box and select an option from the menu. It would be very annoying for the users if the menu keeps closing every time they try to do some filtering. 

1. Is it possible to have the filtermenu open, after the partial postback, if it was in an opened state before the postback?
2. Is there any property available which indicates the state of the menu if it is open/closed? 

If not, could you suggest any work around for this issue?


Thanks,
Viddy.
Kostadin
Telerik team
 answered on 05 Dec 2012
3 answers
119 views
Hi,

I have recurrence editor in rad window. i need to bind empty recurrence rule to recurrence editor from client side.

Like this,


Let me know how to do this.

Thanks,
Prasanna.
Plamen
Telerik team
 answered on 05 Dec 2012
1 answer
88 views
Hi,

i've the problem with radlistview and with tag <%..%> into the code.

When start the page, the message error is: Controls collection can not be changed because the control contains code blocks (<%..%>).

Why?

This my code is:
<div align="center" class="Centerpage" id="div_radlistview">
                <telerik:RadAjaxPanel ID="RadAjaxPanel2" runat="server" Width="1024px"
                    HorizontalAlign="NotSet" LoadingPanelID="RadAjaxLoadingPanel1">
                    <telerik:RadListView ID="RadListView1" runat="server"  DataKeyNames="idutente"
                    ItemPlaceholderID="Contenitore" AllowPaging="True" Skin="Simple">
                    <LayoutTemplate>
                        <fieldset id="FieldSet1">
                            <legend>Risultati della ricerca:</legend>
                            <asp:PlaceHolder ID="Contenitore" runat="server"></asp:PlaceHolder>
                            <div style="clear: both">
                            </div>
                            <div>
                                <div style="float: left; margin-left: 30%;">
<telerik:RadButton ID="btnFirst" runat="server" Text="Prima" CommandName="Page" CommandArgument="First"
Enabled="<%#Container.CurrentPageIndex > 0 %>" Skin="Sunset">
 </telerik:RadButton>
 <telerik:RadButton ID="btnPrev" runat="server" Text="Precedente" CommandName="Page" CommandArgument="Prev"
Enabled="<%#Container.CurrentPageIndex > 0 %>" Skin="Sunset">
 </telerik:RadButton>
                                    <span style="vertical-align: top; position: relative; top: 4px">Pagina
                                        <%#Container.CurrentPageIndex + 1 %>
                                        di
                                        <%#Container.PageCount %></span>
 <telerik:RadButton ID="btnNext" runat="server" Text="Successiva" CommandName="Page" CommandArgument="Next"
Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" Skin="Sunset">
 </telerik:RadButton>
  <telerik:RadButton ID="btnLast" runat="server" Text="Ultima" CommandName="Page" CommandArgument="Last"
Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" Skin="Sunset">
 </telerik:RadButton>
                   </div>
                      </div>
                        </fieldset>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <fieldset style="float: left; width: 494px; height: 180px">
                            <legend>Categoria:
                                <%# CType(Container.DataItem, PropertyUtente).Desccategoria%>
                            </legend>
                            <table cellpadding="0" cellspacing="0" width="95%">
                                <tr>
                                    <td style="width: 80%;">
                                        <table cellpadding="5" cellspacing="0">
                                            <tr>
                                                <td style="width: 20%;">
                                                    Nome:
                                                </td>
                                                <td style="width: 80%; text-align:left; color:#D5842B">
                                                    <%# CType(Container.DataItem, PropertyUtente).utente%>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width: 20%;">
                                                    Città:
                                                </td>
                                                <td style="width: 80%; text-align:left">
                                                    <%# CType(Container.DataItem, PropertyUtente).Desccomune%>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width: 20%;">
                                                    Telefono:
                                                </td>
                                                <td style="width: 80%; text-align:left">
                                                    <%# CType(Container.DataItem, PropertyUtente).Telefono%>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width: 20%;">
                                                    Cellulare:
                                                </td>
                                                <td style="width: 80%; text-align:left">
                                                    <%# CType(Container.DataItem, PropertyUtente).Cellulare%>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width: 20%;">
                                                    Email:
                                                </td>
                                                <td style="width: 80%; text-align:left">
                                                    <%# CType(Container.DataItem, PropertyUtente).Email%>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                </td>
                                                <td style="width: 100%; text-align:center">
                                                    <telerik:RadButton ID="RadButton1" runat="server" Text="Visualizza biglietto" Skin="Sunset"
                                                     OnClick="RadButton1_Click">
                                                    </telerik:RadButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                     <td style="vertical-align: top; text-align: right; width: 100px;">
                                         <asp:Image ID="Image1" runat="server" ImageUrl='<%# CType(Container.DataItem, PropertyUtente).imageprofile%>' Height="125px" Width="110px"/>
                                    </td>                            
                                </tr>
                            </table>
                        </fieldset>
                    </ItemTemplate>
                </telerik:RadListView>
                </telerik:RadAjaxPanel>     
            </div>
Fabio Cirillo
Top achievements
Rank 1
 answered on 05 Dec 2012
1 answer
93 views
hello telerik.

we have a problem with tabstrip control.

I tried to write article here many times from IE, Firefox, it does not posted.



Nencho
Telerik team
 answered on 05 Dec 2012
1 answer
115 views
Team,

I am getting two tooltips for conrols .In the following scenario is ,

If i mouse over on the Linkbutton i am getting only once after clicking / place the mouse on the link button then getting two tooltips.
please find the attached snapshot ... I placed tooltip manager in the Masterpage . I have this issue in through out my application .. Please give replay ASAP

Regards

Prasad
Marin Bratanov
Telerik team
 answered on 05 Dec 2012
3 answers
103 views
Hi all,

I've a radgrid inside a radmultipage view. Everything works as it should apart from when I come to sorting. When I click on a sorting header, the radgrid disappears in the radpageview.... Sessionviewstate is enabled in my project... Below is the relevant code and code behind. Does anyone know why this is happening?

<telerik:RadTabStrip ID="RadTabStrip_Reserved_User_IDs" runat="server" Width="400px" ScrollChildren="false"
                SelectedIndex="0" Skin="Web20" MultiPageID="RadMultiPage_Terminal_Edit">
                <Tabs>
                    <telerik:RadTab Text="Reserved IDs: ">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Activated IDs:">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Reserve an ID:">
                    </telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>
  
            <telerik:RadMultiPage ID="RadMultiPage_Terminal_Edit" runat="server" SelectedIndex="0">
                  
                    <telerik:RadPageView ID="RadPageView_Reserved_IDs" runat="server">
  
                        <telerik:RadGrid ID="RadGrid_Reserved_IDs" runat="server" AutoGenerateColumns="false" 
                        AllowMultiRowSelection="false" AllowPaging="True" PageSize="10"
                        GridLines="None" CellPadding="0" AllowSorting="true" Skin="Default"
                        OnItemDataBound="Check_Reserved_User_ID_Type">
                            <PagerStyle Mode="NextPrevAndNumeric"/>
                            <MasterTableView Width="100%" CommandItemDisplay="Top" GridLines="None" 
                            DataKeyNames="IndexKey">
                            <CommandItemTemplate>
                                <telerik:RadToolBar ID="RadToolBar_Terminals" runat="server" Skin="Default" 
                                Width="100%">
                                    <Items>
                                        <telerik:RadToolBarButton Text="Edit Reserved ID" Visible="true"
                                         ImageUrl="Images/Edit.gif" runat="server">
                                        </telerik:RadToolBarButton>
                                    </Items>
                                </telerik:RadToolBar>
                            </CommandItemTemplate>
                                <Columns>
                                    <telerik:GridClientSelectColumn UniqueName="Checkbox_Reserved_ID"/>
  
                                    <telerik:GridTemplateColumn UniqueName="Reserved_ID_Type"
                                    HeaderText="Type">
                                        <ItemTemplate>
                                            <asp:Literal ID="Literal_Type" runat="server" Text="N/A">
                                            </asp:Literal>
                                        </ItemTemplate>
                                    </telerik:GridTemplateColumn>
  
                                    <telerik:GridBoundColumn UniqueName="Reserved_ID_nType" DataField="nType" 
                                    HeaderText="Reserved Type" Visible="false"/>
  
                                    <telerik:GridBoundColumn UniqueName="Reserved_ID_IndexKey" DataField="IndexKey" 
                                    HeaderText="Reserved ID Index Key" Visible="false"/>
                                      
                                    <telerik:GridBoundColumn UniqueName="Reserved_ID_UserName" DataField="UserName" 
                                    HeaderText="Name" SortExpression="UserName"/>
  
                                    <telerik:GridBoundColumn UniqueName="Reserved_ID_UserID" DataField="UserID" HeaderText="User ID"
                                     SortExpression="UserID"/>
                                </Columns>
                            </MasterTableView>
                            <ClientSettings>
                                <ClientEvents/>
                                <Selecting AllowRowSelect="true"/>
                            </ClientSettings>
                        </telerik:RadGrid>
  
                    </telerik:RadPageView>


Code-Behind:

protected void Page_Load(object sender, EventArgs e)
        {
            if ((Boolean)Session["Page_First_Load"] == true)
            {
                Display_Reserved_Users(0);
            }
          Session["Page_First_Load"] = false;
        }
  
.....
  
protected void Display_Reserved_Users(int rebuild)
        {
  
            SqlDataSource_Reserved_IDs = new SQL_Data_Source().getSQLDataSource();
            SqlDataSource_Reserved_IDs.SelectCommandType = SqlDataSourceCommandType.StoredProcedure;
            SqlDataSource_Reserved_IDs.SelectCommand = "OnTime_sp_Reserved_User_List";
            SqlDataSource_Reserved_IDs.SelectParameters.Add("Param_Customer_ID_Ref", (string)Session["User_Belongs_To_Customer_Ref_ID"]);
            SqlDataSource_Reserved_IDs.SelectParameters.Add("Param_Company_ID_Ref", (string)Session["User_Belongs_To_Company_Ref_ID"]);
  
            RadGrid_Reserved_IDs.DataSource = SqlDataSource_Reserved_IDs;
  
            if (rebuild == 1)
            {
                RadGrid_Reserved_IDs.Rebind();
            }
  
        }


Jesse
Top achievements
Rank 1
 answered on 05 Dec 2012
7 answers
91 views
Hi,

thing is that sometimes RadWindow layout is really bad. I'm using the latest version of telerik controls, so update is not an option. When the bug appears, after few restarts it will work again fine. It seems to appear randomly. Here is the screenshot of the layout. Any help would be good.

Thanks
Bozhidar
Telerik team
 answered on 05 Dec 2012
3 answers
49 views
Hi,
Steps to reproduce:

1.Upload an image to image editor. for ex:(1000 X1000) pixels
2. Perform crop. (500X500) pixels
3.Click undo.

IN IE9,IE8 :
The original image is restored to the height and width of the cropped image size.i.e.(1000X1000) pixels image is restored with (500X500) pixels.

IN Firefox:
The uploaded  image is  restored .. which is as expected.
 
Vessy
Telerik team
 answered on 05 Dec 2012
1 answer
142 views
Hi,

I put this code in to master page,so that page would be refresh partially. but i am getting
this error  :
 Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.

Code :

<form id="form1" runat="server">
   <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
   </telerik:RadScriptManager>
   <div>
      <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1">
           <asp:Table ID="Table1" runat="server" CellSpacing="0" CellPadding="0" border="0"
            
           </asp:Table>
     </telerik:RadAjaxPanel>
   </div>
   </form>

I have a aspx page that contain search button and results binding in to treeview.  here I dont want page refreshing when click on submit..
If i remove RadAjaxPanel then it works fine but page is refreshing.

How can I do partial page updates using telerik ?

Thanks in advance
Kostadin
Telerik team
 answered on 05 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?