Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
84 views
Vista skin for menu in version v2008 2.1001.20 is showing images above text. Is Vista skin predicted to be with no images showing (ImageURL="") or this is a bug?

Browser tested: IE7.

Alex
Helen
Telerik team
 answered on 28 Oct 2008
1 answer
189 views
I am updating a page to no longer user any postbacks by using the RadAjaxManager.  Previously, in my code-behind, I had captured a return value and embedded javascript code on the page based on the return value to display a message to the user.  Now that I am using RadAjaxManager and eliminated postbacks, everything is working fine except that it does not show the message to the user.  What is the best way to do this if I am capturing the return value in the code-behind?
Maria Ilieva
Telerik team
 answered on 28 Oct 2008
1 answer
123 views
Hi,
Is there any way to Create a RadPageView in Client Side?

Regards,
Masoud Tabatabaei
http://csharptuning.blogfa.com
Shinu
Top achievements
Rank 2
 answered on 28 Oct 2008
4 answers
210 views
I have a grid that uses XMLDataSource. Since the XML file is pretty complex, i have to use GridColumnTemplate and set XPath in the ItemTemplate as follows:
<telerik:GridTemplateColumn UniqueName="Klasse" HeaderText="Klasse">  
  <ItemTemplate> 
    <asp:Label ID="lblKlasse" runat="server" Text='<%# XPath("Klasse") %>' /> 
  </ItemTemplate> 
</telerik:GridTemplateColumn> 
<telerik:GridTemplateColumn UniqueName="Orden" HeaderText="Orden">  
  <ItemTemplate> 
    <asp:Label ID="lblOrden" runat="server" Text='<%# XPath("Orden") %>' /> 
  </ItemTemplate> 
</telerik:GridTemplateColumn> 

How can I access each GridTemplateColumn in codebehind (i.e. ItemDataBound) to set SortExpression to some XPath?
Roy Halvorsen
Top achievements
Rank 1
 answered on 28 Oct 2008
3 answers
117 views
I have a custom pager for my grid that incorporates a slider control. Problem is when paging, the slider dissappears for a few seconds and then reappears. The grid is in a user control that gets dynamically loaded into an update panel per your sample online. I mention this in case it could be a factor with the problem. Here is my custom pager markup (including the top of my grid):

  <telerik:RadGrid ID="RadGridSummary" runat="server" AllowPaging="True" AllowSorting="True"
        AllowCustomPaging="True" GridLines="None" ShowGroupPanel="True" Skin="Office2007"
        AutoGenerateColumns="false" AlternatingItemStyle-BackColor="#f5f7fa" OnNeedDataSource="RadGridSummary_NeedDataSource"
        OnItemDataBound="RadGridSummary_ItemDataBound" PageSize="10" OnGroupsChanging="RadGridSummary_GroupsChanging">
        <MasterTableView TableLayout="Fixed" OverrideDataSourceControlSorting="true">
            <PagerTemplate>
                <asp:Panel ID="PagerPanel" Style="padding: 6px;" runat="server">
                    <span style="margin-top: 2px; float: left; margin-right: 3px;">Page size:</span>
                    <telerik:RadComboBox ID="RadComboBox1" DataSource="<%# new object[]{10, 20, 30, 40, 50} %>"
                        Style="margin-top: 2px; float: left; vertical-align: baseline; margin-right: 20px;"
                        Skin="Vista" Width="40px" SelectedValue='<%# DataBinder.Eval(Container, "Paging.PageSize") %>'
                        OnClientSelectedIndexChanged="setPageSize" AssignedGrid="RadGridSummary" runat="server">
                    </telerik:RadComboBox>
                    <span style="float: right;">Displaying page
                        <%# (int)DataBinder.Eval(Container, "Paging.CurrentPageIndex") + 1 %>
                        of
                        <%# DataBinder.Eval(Container, "Paging.PageCount")%>, items from
                        <%# (int)DataBinder.Eval(Container, "Paging.FirstIndexInPage") + 1 %>
                        to
                        <%# (int)DataBinder.Eval(Container, "Paging.LastIndexInPage") + 1 %>
                        of
                        <%# DataBinder.Eval(Container, "Paging.DataSourceCount")%>.</span>
                    <p style="margin: 0px; padding: 0px; float: left; margin-right: 10px">
                        <asp:Button ID="Button1" runat="server" OnClientClick="changePage('first'); return false;"
                            CommandName="Page" CommandArgument="First" CssClass="PagerButton FirstPage" Text=" << " />
                        <asp:Button ID="Button2" runat="server" OnClientClick="changePage('prev'); return false;"
                            CommandName="Page" CommandArgument="Prev" CssClass="PagerButton PrevPage" Text=" < " />
                        <telerik:RadSlider ID="RadSlider1" runat="server" Skin="Vista" Width="40" MaximumValue="50" />
                        <asp:Button ID="Button3" runat="server" OnClientClick="changePage('next'); return false;"
                            CommandName="Page" CommandArgument="Next" CssClass="PagerButton NextPage" Text=" > " />
                        <asp:Button ID="Button4" runat="server" OnClientClick="changePage('last'); return false;"
                            CommandName="Page" CommandArgument="Last" CssClass="PagerButton LastPage" Text=" >> " />
                        <asp:Panel runat="server" ID="NumericPagerPlaceHolder">
                        </asp:Panel>
                    </p>
                </asp:Panel>
            </PagerTemplate>

Any help would be greatly appreciated.
Rosen
Telerik team
 answered on 28 Oct 2008
3 answers
153 views
Is there a way that you can show content after the dock has been Collapsed ?
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 28 Oct 2008
1 answer
154 views
i want to create a dynamic report  that has the same Hierarchy with DetailTableDataBind event format but with different data. using store procedure to get the datas, how do i specify the mastertableview,detailview and column, and how do i do all of this in the server side. Plus how do i export all data on this to excel.

so if i have table call student
name     address      shoes         shirt     zip  city state size

i want name to be master,address to be detail, shoes to be detail again

so if a user select a report call student it will get the above info and generate a Hierarchy with DetailTableDataBind event with the above info.

if a user select grade report, it will select info from grade table
level     class      test      number
and level will be master, class will be detailtable.

and so on. could i do all this on server side and i want to be able to say e.detailtableview.datasource = "exec storedprocedure ......"

thank you very much for your help . i really appreciate it.
Daniel
Telerik team
 answered on 28 Oct 2008
3 answers
282 views
Hi,

I have a button for save record and now i want that when record is saved then open a popup window.

how can i do that.

for example:
This is just to explain, not actual code.

buttonClickEvent()
{
               int id = SaveRecord();
               OpenPopUp(id);
 }

Regard.
altaf
Top achievements
Rank 1
 answered on 28 Oct 2008
6 answers
505 views
Hi,

(Note: This thread was mistakenly posted in the "RadUpload" section; very sorry about that!)

We're getting a really odd error occur with an application using a range of Telerik controls (RadEditor, RadGrid, RadTreeView, etc) that works fine in IE7 but in Firefox we are seeing the following error appear in the Firefox Error Console when we load the first of several controls. Once the error has occurred, no script or styles appear to work in any subsequent controls.

This error fires once the first control has loaded, regardless of the type of control we have loaded first.

Error: uncaught exception: [Exception... "An invalid or illegal string was specified"  code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)"  location: "http://rexshad-74306jb/ExhibitorPortal/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2007.3.1425.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a48a19736-c022-4131-bf7d-fcbe4aa553d6%3a393f5085%3a34f9d57d%3a526d426%3a80c4ad6d%3a527acb41%3a3c2b629f%3acf187033%3a37e97092%3a1d42ade9%3a251a9451%3a81330300%3a9703c1f0%3aa3f85c94%3a665c7bcf Line: 1245"
Source File: http://rexshad-74306jb/ExhibitorPortal/ScriptResource.axd?d=WGHC5g2LE5q9GhN0AU7_4qkFZDYtNUOA5TB5ypjC8hQ0d-S9H_HIVOVooM3ftG-Ld-aE8DJ11qSdAW3PEQKdI7qrAYqAZty6lLy15AUaGUA1&t=633386647776777396 
Line: 4305 

I know I need to put more info up here, but I just wanted to see if anyone had even seen this before?

It seems to me to be a problem with the request being sent to the ScriptResource.axd - possibly a character that isn't being escaped... although I may be completely wrong!

T. Tsonev
Telerik team
 answered on 28 Oct 2008
1 answer
66 views
I am not seeing any Check box behavior (client or server side) working as it should.

The Tree View is embedded in a User Control, and is built in the code behind.  I have confirmed that on post back I do not rebuild the tree, and that it is properly inflated from view state.

The problem is that CheckedNodes is empty despite having checked boxes before post back, but SelectedNodes works properly.

Also when attempting to debug, or explore a workaround I found that OnClientNodeChecked does not fire, but OnClientNodeClicked indeed does.

My suspicion is a missing javascript file somewhere, but I'm not positive.  Anyone else seen this behavior before?

Thanks in advance.
Yana
Telerik team
 answered on 28 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?