Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
97 views
Hi,
I have a radgrid with paging. Currently on right side it is displaying something like "91 items in 19 pages". I want to display also something like "items 1 to 10 of 91"(10 is page size). Also I want to add feature that allows entering a specific page number and display it. The desired pager style is in image "PagerStyle.jpg". Thanks.   
Shinu
Top achievements
Rank 2
 answered on 20 Jun 2011
1 answer
60 views
Hello,

When I am using RadPanelbar all expanding and collapsing functions work well in IE and/or Chrome. But when I try it in Firefox 4 no expanding or collapsing occur. Here is my code :

   <telerik:RadPanelBar ID="RadPanelBar1" runat="server" EnableEmbeddedSkins="false"
                Height="100%" ExpandMode="SingleExpandedItem" Skin="ShowCategory" Width="100%"
                AllowCollapseAllItems="false" OnClientItemClicking="OnClientItemClicking">
            </telerik:RadPanelBar>

I am programmatically creating the items. 

One more thing, in all other browser I can call OnClientItemClicking event but in FireFox 4.0 its not firing. FYI, added script below :

 <script type="text/jscript">
        function OnClientItemClicking(sender, args) {
            debugger;
            if (args.get_item().get_level() == 0) {
                args.set_cancel(true);
               args.get_item().set_expanded(!args.get_item().get_expanded());
            }
       }            
    </script>

I am using Telerik  2010.1.519.35.

What can cause that problem? Any Idea?


Veselin Vasilev
Telerik team
 answered on 20 Jun 2011
0 answers
170 views
Hello,telerik?
   In my project,I use the toolbar of telerik controls
  How to control the width of toolbar?
  My scenario is : navigator using the toolbar is under of banner consisting of pictures?
  How to make the toolbar size following the size of banner ?
  i.e.the width of banner is equal to the width of toolbar.
  I use the table to control the size of banner.\
when I use the "100%" of the toolbar width property ,  the size of the banner and toolbar can not fill the screen of window.
how to solve it?
thanks.hope your reply
songsp
Top achievements
Rank 1
 asked on 19 Jun 2011
1 answer
90 views
Hi,
I have a radgrid that need paging. The problem is that it can only display 1 page even if there are more than 1 page. Also on right side displaying "0 item in 1 page" is not correct.  Also I want to add feature that can go to specific page entered. The problem is in image "Pager_problem.jpg". The desired pager style is in image "PagerStyle.jpg". Thanks.    The code is:
<telerik:RadGrid ID="RadGrid1" runat="server" style="margin-left:5px"
    AllowPaging="True" AllowCustomPaging="True"
    AllowFilteringByColumn="True"  AllowSorting="True"                
    DataSourceID="SqlDataSource1" GridLines="None">
 
    <MasterTableView DataSourceID="SqlDataSource1" AutoGenerateColumns="False"
         PagerStyle-Position="TopAndBottom"
         PagerStyle-AlwaysVisible="true" PagerStyle-Mode="NextPrevAndNumeric" PageSize="10">
    <RowIndicatorColumn>
    <HeaderStyle Width="20px"></HeaderStyle>
    </RowIndicatorColumn>
         
    <ExpandCollapseColumn>
    <HeaderStyle Width="20px"></HeaderStyle>
    </ExpandCollapseColumn>
        <Columns>
            <telerik:GridBoundColumn DataField="OrderDate" DataType="System.DateTime"
                HeaderText="Order Date" SortExpression="OrderDate"
                CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" UniqueName="OrderDate">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name"
                SortExpression="FirstName" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" UniqueName="FirstName">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Email" HeaderText="Email"
                SortExpression="Email" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" UniqueName="Email">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="GreetingCode" HeaderText="Greeting Code"
                SortExpression="GreetingCode" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" UniqueName="GreetingCode">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="ChildFirstName" HeaderText="Child's FirstName"
                SortExpression="ChildFirstName" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" UniqueName="ChildFirstName">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="ChildLastName" HeaderText="Child's LastName"
                SortExpression="ChildLastName" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" UniqueName="ChildLastName">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="ChildGender" HeaderText="Child's Gender"
                SortExpression="ChildGender" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" UniqueName="ChildGender">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>


york
Top achievements
Rank 1
 answered on 19 Jun 2011
1 answer
96 views
I am following the Demo Project

AsyncUpload / Ajax Processing


In the demo, it states to setup the RadAjax Manager as such:

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Thumbnail" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>


Since my Asych Upload control is in a Content Page, I am using an RadAjaxManagerProxy.  My problem is if I set the AjaxContorlID to the Proxy's ID, I get a javascript error that I have nested Update Panels.  If I set it to the MasterPage's RadAjaxManager ID, I get a javascript error that ID can't be found.
    
Here is my code.

MasterPage:
 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" ClientIDMode="Static"
        DefaultLoadingPanelID="ralpDefault">
        <ClientEvents OnRequestStart="centerLoadingPanel"></ClientEvents>
        <AjaxSettings>
        </AjaxSettings>
    </telerik:RadAjaxManager>
     
Content Page:
 
<telerik:RadAjaxManagerProxy ID="rampMyAccount" runat="server" ClientIDMode="Static">
    <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rbiAvatar" />
                </UpdatedControls>
            </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>

Peter Filipov
Telerik team
 answered on 19 Jun 2011
1 answer
109 views
Hi,

I put the Multiple File upload sample from The demo site to my project. And in my case, I tried to host the code inside a html table as below. However, it seems that the table cannot automatically expand to show the progress box. Something wrong in my css. Pls. kindly advise.

Thanks,
Elton

 

 

<table border="0" cellpadding="0" cellspacing="0" class="mainGTbl">

 

 

 

<colgroup>

 

 

 

<col width="100px" />

 

 

 

<col width="" />

 

 

 

</colgroup>

 

 

 

<tr>

 

 

 

<td>

 

 

 

<asp:Label ID="lblFileType" runat="server" EnableViewState="false"></asp:Label>:<span class="asterisk">*</span>

 

 

 

</td>

 

 

 

<td>

 

 

 

<telerik:RadComboBox ID="ddlFileType" runat="server" Width="300px"/>

 

 

 

</td>

 

 

 

</tr>

 

 

 

<tr>

 

 

 

<td>

 

 

 

<asp:Label ID="lblFileName" runat="server" EnableViewState="false"></asp:Label>:<span class="asterisk">*</span>

 

 

 

</td>

 

 

 

<td>

 

 

 

<div>

 

 

 

<telerik:RadProgressManager runat="server" ID="RadProgressManager" />

 

<%

 

-- For the purpose of this demo the files are discarded. In order to store the uploaded files permanently set the TargetFolder property to a valid location. --%>

 

 

 

 

<telerik:RadAsyncUpload runat="server" ID="AsyncUpload" MultipleFileSelection="Automatic" />

 

 

 

<telerik:RadProgressArea runat="server" ID="RadProgressArea" />

 

 

 

</div>

 

 

 

</td>

 

 

 

</tr>

 

 

 

<tr>

 

 

 

<td class="searchBtnTD" colspan="2">

 

 

 

<asp:Button ID="btnOK" runat="server" CssClass="srchBtn" OnClick="btnOK_Click" />

 

 

 

<asp:Button ID="btnCancel" runat="server" CssClass="srchBtn" OnClientClick="CloseCurrentRadWindow();" />

 

 

 

</td>

 

 

 

 

</tr>

 

 

 

</table>

 

Peter Filipov
Telerik team
 answered on 19 Jun 2011
4 answers
134 views
Hi,

I used to work with Telerik's controls some time ago, but after a few years of gap it seems I have forgotten some...

I have a Grid bound to a List<myTypeClass>. When I click on Edit/Delete, in the event handlers (RadGrid1_UpdateCommand and RadGrid1_DeleteCommand) I can't seem to figure out how to get the item that was edited/deleted.
I have custom stored procudures doing all the CRUD operations and to delete an item, for example, I need to know it's ID (which is one of the properties of the items in the list.
Any idea?
Any ideas are much appreciated
v
Viktor Takacs
Top achievements
Rank 2
 answered on 18 Jun 2011
2 answers
197 views
Hi..

How can i reload the TreeView using javascript in client side..?
sumither
Top achievements
Rank 1
 answered on 18 Jun 2011
1 answer
55 views
Hi, im building a forum like website with 3 tables, (Topics, Threads & Messages). iv got 3 forms with the same names. I would like to pass the primary key of one table (Topic) on the 1st form to link up with the relevant Threads on the Threads form. Here is my code below on the topics form.

 <Columns>
        <telerik:GridHyperLinkColumn DataTextField="Name"
            DataNavigateUrlFields="TopicID" 
            DataNavigateUrlFormatString= "Threads.aspx?TopicID={0}" ItemStyle-Font-Bold="true" />
        <telerik:GridHyperLinkColumn DataNavigateUrlFields="TopicID" 
        DataNavigateUrlFormatString="Threads.aspx?TopicID={0}" HeaderText="Topic" />
  </Columns>

The primary key does get passed as i can see it in the address bar but how do i retrieve it on the threads form?

Thanks in advance
Katlego
Top achievements
Rank 1
 answered on 18 Jun 2011
1 answer
101 views
Hello All,

My one of client had licensed version of Telerik Version 2007.2.1107.0.

In new version of telerik controls we have below attribute.

EnableEmbeddedSkins ="false"

any one have any idea how to stop style coming from web resource in Telerik Version 2007.2.1107.0.?

Thanks,
Kalpesh
Kalpesh V
Top achievements
Rank 1
 answered on 18 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?