Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 views
Hello,
             I have a tree with several nodes. I have function OnNodeClick to get the selected node. But I also want the node that lost focus. How do I get that information?..

Thanks,
Bharani
Shinu
Top achievements
Rank 2
 answered on 14 Sep 2010
5 answers
103 views
Good day!
I have got m own class News
I've made a child class NewsForSite

public class NewsForSite : News
    {
        public string SitesTree;
    }


NewsForSite has one more parametr - string SitesTree.

I'm making NewsForSite exemplar on base of News exemplar by coping all the parameters of News to NewsForSite and writing SitesTree string to each NewsForSite.
In debugger (you can see it at attached picture) I can see that all of paramerts of NewsForSite are in base collection and SitesTree parametr is outstanding, and when I try to bind this parametr to grid like other parmetrs, there is an empty space instead of SitesTree stings in grid. Otner columns look well.
I bind all the parametrs this way:

grUsersGroup.DataSource=newsWithSitesList; //( var newsWithSitesList = new List<NewsForSite>();)

<telerik:RadGrid  ID="grUsersGroup" runat="server" >
        <MasterTableView AutoGenerateColumns="False" EditMode="PopUp" DataKeyNames="Id">
             <Columns>
                <telerik:GridBoundColumn DataField="Id" HeaderText="ID"
                    SortExpression="Id" UniqueName="Id" ReadOnly="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="SitesTree" HeaderText="Где опубликована"
                    SortExpression="SitesTree" UniqueName="SitesTree" ReadOnly="true" AllowFiltering="true">
                </telerik:GridBoundColumn>            
             </Columns>            
        </MasterTableView>
    </telerik:RadGrid>

what is the right way of binding of SitesTree to me?
lina fetisova
Top achievements
Rank 1
 answered on 14 Sep 2010
2 answers
164 views
Hi everyone,

I've search for 2 days and found no solution to solve my problem. That is when I deploy my web on my own server (using IIS7) Telerik RadControls works fine, but 3 days ago, after deploying my site on a shared hosting, the RadControls is not displayed properly, RadMenu becomes a large list of hyperlink, RadCombo box cannot drop down, all RadControls lost their skins and functions.

When try on IE, there's javascript error:"Sys is undefined".

I've tried configure as http://www.telerik.com/help/aspnet-ajax/installdeployingonsharedhosting.html guide, the provided said that they has created a vitual directory point to my application folder and grand all necessary permission for it, my web is accessible but the controls still failed to display.

Following the error:"Sys is undefined", I checked and sure that my web was AJAX ENABLE and I was told to add: 

<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>

and

<location path="Telerik.Web.UI.WebResource.axd"> 
   <system.web> 
     <authorization> 
       <allow users="*"/> 
     </authorization> 
   </system.web> 
</location> 

but there's still errors.

I found one case like me http://forum.winhost.com/archive/index.php/t-279.html, but the solution is not very cleared.

So any help of you guys will be very appreciated.

p/s: I am using RadControls for ASP.NET AJAX Q1-2010



Quan Nguyen
Top achievements
Rank 1
 answered on 14 Sep 2010
1 answer
123 views
Can I change the webmethod used somehow on the clientside?

I want to use a single panel to callback to the service (which has multiple methods)
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 14 Sep 2010
1 answer
126 views
Hi Folks:

Quick question. I have a RadGrid Displaying about 6 of 25 fields from a table. Of course, when I try to export to excel using the built-in tools, I only get the displayed fields ... is there a way where I could export all of those fields, or setup a different export procedure to export all of the fields.

Thanks in advance.

Larry
Daniel
Telerik team
 answered on 13 Sep 2010
1 answer
136 views
Hello,

I am having some issues with the RadGrid Export To Excel.  I am using the telerik 2010 Q1 RadGrid.  My grid designer code is as follows:

<telerik:RadGrid ID="RadGridResult" runat="server" Skin="Simple" PagerStyle-AlwaysVisible="true" Width="99%" OnNeedDataSource="RadGridResult_NeedDataSource"
     ItemStyle-Wrap="false" HeaderStyle-Wrap="false" AllowSorting="true" AllowPaging="true" PageSize="20" >
    <ClientSettings>
        <Scrolling AllowScroll="true" UseStaticHeaders="true" />
    </ClientSettings>
    <PagerStyle Mode="NumericPages"></PagerStyle>
    <MasterTableView ShowHeader="true" AutoGenerateColumns="false" TableLayout="Auto" ItemStyle-Wrap="false" UseAllDataFields="true"
        HeaderStyle-Wrap="false">
        <NoRecordsTemplate>
            <asp:Label ID="lblMsg" runat="server" Text="No Records found"></asp:Label>
        </NoRecordsTemplate>
        <Columns>
            <telerik:GridBoundColumn DataField="CallerName" HeaderText="Caller's Name" SortExpression="CallerName" UniqueName="CallerName" />
            <telerik:GridBoundColumn DataField="CallRequestorObject.CallRequestorDesc" HeaderText="Requestor Type" SortExpression="CallRequestorObject.CallRequestorDesc" UniqueName="RequestorType" />
            <telerik:GridBoundColumn DataField="Address1" HeaderText="Address" SortExpression="Address1" UniqueName="Address1" />
            <telerik:GridBoundColumn DataField="Address2" HeaderText="Address" SortExpression="Address2" UniqueName="Address2" />
            <telerik:GridBoundColumn DataField="City" HeaderText="City" SortExpression="City" UniqueName="City" />
            <telerik:GridBoundColumn DataField="StateCode" HeaderText="State" SortExpression="StateCode" UniqueName="StateCode" />
            <telerik:GridBoundColumn DataField="Zip" HeaderText="Zip" SortExpression="Zip" UniqueName="Zip" />
            <telerik:GridBoundColumn DataField="FormattedPhone" HeaderText="Phone Number" SortExpression="FormattedPhone" UniqueName="FormattedPhone" />
            <telerik:GridBoundColumn DataField="InquiryTypeObject.InquiryTypeDesc" HeaderText="Nature of Inquiry" SortExpression="InquiryTypeObject.InquiryTypeDesc" UniqueName="InquiryType" />
            <telerik:GridBoundColumn DataField="CallDate" HeaderButtonType="TextButton" HeaderText="Date of Call" SortExpression="CallDate" UniqueName="CallDate" DataFormatString="{0:MM/dd/yyyy hh:mm tt}" />
        </Columns>
    </MasterTableView>
    <ExportSettings>
        <Pdf FontType="Subset" PaperSize="Letter" />
        <Excel Format="ExcelML" />
        <Csv ColumnDelimiter="Comma" RowDelimiter="NewLine" />
    </ExportSettings>
    <ClientSettings>
        <Scrolling AllowScroll="True" />
    </ClientSettings>                            
</telerik:RadGrid>

My run-time code is as follows:

RadGridResult.ExportSettings.ExportOnlyData = true;
RadGridResult.ExportSettings.IgnorePaging = true;
RadGridResult.ExportSettings.OpenInNewWindow = true;
RadGridResult.MasterTableView.ExportToExcel();

When my some of my users (with Excel 2007) attempt to export a grid to Excel, they receive the message:

'C:\Documents and Settings\[username]\Local Settings\Temporary Internet Files\Content.IE5\8ZAR05UB\RadGridExport[1].xls' could not be found.  Check the spelling of the file name, and verify that the file location is correct.

What could be causing this error?

Thanks
Daniel
Telerik team
 answered on 13 Sep 2010
2 answers
100 views
Ive followed the guide for adding custom CSS classes to the editor. They appear and style the text in the editor, but not in the front end. What is missing? 
Do i need to link to the custom CSS class on every page where content that has been edited with the rad editor is used?
Lautaro
Top achievements
Rank 1
 answered on 13 Sep 2010
3 answers
247 views
Hello,

I have tried and searched everything in order to figure out how to hide pre-populated separator in my horizontal grid (which is loaded via XML).  I attached the picture.  Please don't mind the style, I know it's ugly, but it's what the client wants :)

Menu XML:

<Menu CssClass="RadMenu_Menu">
    <Group Flow="Horizontal">
        <Item
          Text="New"
          ImageURL="~/PresentationLayer/Images/Menu/Default/new.gif" />
        <Item
          Text="Delete Budget Split"
          ImageURL="~/PresentationLayer/Images/Menu/Default/delete.gif" />
        <Item
          Text="More Options"
          ImageURL="~/PresentationLayer/Images/Menu/Default/moreDown.gif" >
            <Group Flow="Vertical">
                <Item
                  Text="Edit"
                  ImageURL="~/PresentationLayer/Images/Menu/Default/edit.gif" />
                <Item
                  Text="Refresh List"
                  ImageURL="~/PresentationLayer/Images/Menu/Default/redo.gif" />
            </Group>
        </Item>
    </Group>
</Menu>


Thanks in advance!
msigman
Top achievements
Rank 2
 answered on 13 Sep 2010
2 answers
123 views

Hi

in Telerik.Web.UI.dll v2010.2.616 RadAsyncUpload ContentType working but after this version ContentType always is application/octet-stream

now my question is in which version this error is corrected or will be?

mastermehdi
Top achievements
Rank 2
 answered on 13 Sep 2010
5 answers
198 views
Is it possible to display the advanced insert template of the radscheduler on (custom) button click(handling it in the code behind)?I have a linkbutton in the page.  The radscheduler is also present in the same page.  I am trying to load the advanced insert template upon clicking the asp.net linkbutton.  Any help in this regard is highly appreciated.    
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 13 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?