Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
100 views
this is the link for tab skins help
http://www.telerik.com/help/aspnet/tabstrip/tab_use%20skins.html

in that provided example links are not working
Veronica
Telerik team
 answered on 06 Jun 2011
1 answer
59 views

hi telerik

i found a bug in RadRotator

PauseOnMouseOver="true" don't work for first step of rotator scrolling!

but it work for other steps

please fix it

thanks ;-)

Niko
Telerik team
 answered on 06 Jun 2011
1 answer
111 views
Hey,

I have a Linq to Sql data object which has 2 classes called Topics & Posts.  Each topic can have multiple posts, thus, there is a one to many relationship from topic to posts.

I have the RadGrid bound to a LinqDataSource object which returns all topics, and topics can access all posts under that topic, ie topics(x).posts(y).subject etc.

In the RadGrid, for testing purposes, I am binding the first post as the subject of the topic, for example:

<telerik:GridBoundColumn DataField="posts(0).post_subject" DataType="System.String" 
    FilterControlAltText="Filter column" HeaderText="post_subject" 
    UniqueName="post_subject" SortExpression="posts.post_subject">
</telerik:GridBoundColumn>

This works fine, and displays the information in the grid correctly, but, if I do any type of sorting/filtering I get the following error:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: No property or field 'post_subject' exists in type 'EntitySet`1'

I've tried different variations of the SortExpression but still get a similar error.

Is there a way to achieve this?

Thanks
Iana Tsolova
Telerik team
 answered on 06 Jun 2011
3 answers
117 views
I have the following properties set on a RadCalendar:
MultiViewRows = 2
MultiViewColumns = 2
FastNavigationStep = 3
EnableMultiSelect = true
EnableMonthYearFastNavigation = true
RangeMinDate = new DateTime(2010, 1, 1)
RangeMaxDate = new DateTime(2012, 1, 1)

The navigation arrows in the title bar do not work in any browser. When I click on them, nothing happens. I do not see any javascript error.

If i change MultiViewRows and MultiViewColumns both back to 1, then the navigation arrows work OK.

If either MultiViewRows or MultiViewColumns are above 1, then the navigation arrows stop working. Clicking on the title and selecting the month/year from the popup panel also doesn't work.

I am using version 2010.3.1317.40.

Any help would be appreciated.
Pavel
Telerik team
 answered on 06 Jun 2011
1 answer
138 views
Hi,

i am working on telrik tree view.

 <telerik:RadTreeView runat="server" ID="RadTreeView1" OnContextMenuItemClick="RadTreeView2_ContextMenuItemClick"  OnClientContextMenuItemClicked="onContextMenuItemClicked"
                             OnClientNodeClicked="nodeClicked">

i want to call two functions on contextmenuitemclick i.e clientside and server side. in my case only clientside function is calling. plz guide me how to call the both functions. one more thing that this treeview is inside update Panel.

Regards,

Faisal
Shinu
Top achievements
Rank 2
 answered on 06 Jun 2011
4 answers
210 views
I could do with some more help.

In my RadGrid I have created a custom edit form using the template mode and I have captured the update command event  to intercept the update as i want to write the information entered by the user manually to my database.

In the update command event I have converted e.item to a GridEditFormItem and now I want to get access to the controls that i have added into my template. There seems to be lots of controls embedded in this item so is there an easier to access the data entered by the user. I have a RadTextBox and RadDateTimePicker.

Thankyou.
Tsvetina
Telerik team
 answered on 06 Jun 2011
1 answer
110 views
Hi, I have scheduler databound to a sql datasource successfully. In the NavigationCommand I am getting the type of navigation and then changing the Scheduler's selected date like this


  RadScheduler1.SelectedDate = CurrentDate.AddDays(1)


   But this does not affect the selected date. I am in DayView so I just want the calendar to advance 1 day but this does not work. I have tried issuing the rebind command but that does not work either. I think I am not understanding how the scheduler binds to its data in this situation. I see appointments, I just cannot navigate using the upper left corner navigation controls. Any clarification on this would be most welcome.
Plamen
Telerik team
 answered on 06 Jun 2011
2 answers
177 views
My scheduler works fine.But my requirement is,

if I create a time slot from 9.00 am to 10.00 am ,I need  to display it for users as smaller slots of 10 minutes and each slot is considered as seperate item .

What i mean is

9.00 t0 9.10
9.10 t0 9.20
9.20 t0 9.30  etc up to 10.00 and users can select each slot
is it possible or not ?
Rakesh
Top achievements
Rank 1
 answered on 06 Jun 2011
2 answers
215 views
Hi,

I am trying to get the RadSpell control to work in a custom pagelayout in SharePoint 2010.

I have added the control but I continually get the web.config registration entries missing error, regardless of what entries I add to the web.config file.

I have followed the directions supplied by this KB article. Including renaming the aspx to axd as suggested for running this in MOSS, but to no avail.

Please, note that the solutions above will not work for MOSS 2007 and MVC applications. To fix the problem:

  1. open the web.config file and replace Telerik.Web.UI.DialogHandler.aspx with Telerik.Web.UI.DialogHandler.axd
  2. set the RadEditor's DialogHandlerUrl property to "~/Telerik.Web.UI.DialogHandler.axd"
If I follow the instructions above I get the following stack trace

[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Web.UI.RadSpell.ResetDialogDefinition() +1388
   ASP._controltemplates_clsg_reportsclass_ascx.__BuildControlradSpellCheck() +135
   ASP._controltemplates_clsg_reportsclass_ascx.__BuildControlTree(_controltemplates_clsg_reportsclass_ascx __ctrl) +186
   System.Web.UI.ControlBuilder.BuildChildren(Object parentObj) +424
   System.Web.UI.TemplateBuilder.InstantiateIn(Control container) +437
   System.Web.UI.WebControls.ContentBuilderInternal.InstantiateIn(Control container) +34
   ASP.PORTAL_MASTER_1110935397.__BuildControlPlaceHolderMain() +176
   ASP.PORTAL_MASTER_1110935397.__BuildControlMSO_ContentDiv() +1205
   ASP.PORTAL_MASTER_1110935397.__BuildControlForm1() +589
   ASP.PORTAL_MASTER_1110935397.__BuildControlHtml1() +300
   ASP.PORTAL_MASTER_1110935397.__BuildControlTree(PORTAL_MASTER_1110935397 __ctrl) +88
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1304
   System.Web.UI.Page.get_Master() +68
   System.Web.UI.Page.ApplyMasterPage() +17
   System.Web.UI.Page.PerformPreInit() +57
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1255

What am I doing wrong?

Any help would be much appreciated.

Thanks in advance
Peter
Stephen
Top achievements
Rank 1
 answered on 06 Jun 2011
1 answer
327 views
I am trying use the sorting properties in the radgrid, and I am wondering if there is a way to sort the data bound to the grid without hitting the database again.  My problem is when I do not hit the database and attempt to sort, my data in the grid disappears.

My radgrid is set up to look like this:
<radG:RadGrid ID="CustomerGrid" runat="server" AutoGenerateColumns="false" Width="100%" EnableAJAX="True" OnPageIndexChanged="SearchResults_PageIndexChanged" 
    Skin="Office2007" AllowFilteringByColumn="False" AllowPaging="True" PageSize="35" ShowStatusBar="True" ShowFooter="False" 
    ShowGroupPanel="False" GridLines="None" CellPadding="1" AllowSorting="True" OnSortCommand="RadGrid1_SortCommand">
    <PagerStyle Mode="NextPrevAndNumeric" />
    <MasterTableView EditMode="InPlace" ShowFooter="True" Width="99%" TableLayout="Auto" AllowMultiColumnSorting="true" AllowNaturalSort="true">
        <Columns>
            <radG:GridBoundColumn DataField="CustomerID" HeaderText="Customer Number" SortExpression="CustomerID" UniqueName="CustomerID">
            </radG:GridBoundColumn>
            <radG:GridBoundColumn DataField="CustomerName" HeaderText="Customer Name" SortExpression="CustomerName" UniqueName="CustomerName">
            </radG:GridBoundColumn>
            <radG:GridTemplateColumn HeaderText="Status" HeaderStyle-Width="160px" ItemStyle-Width="160px">
                <ItemTemplate>
                    <%# GetStatus(Eval("CustomerID")) %>
                </ItemTemplate>
            </radG:GridTemplateColumn>
            <radG:GridBoundColumn DataField="Effective" HeaderText="Effective">
            </radG:GridBoundColumn>
        </Columns>
        <ExpandCollapseColumn Visible="False">
            <HeaderStyle Width="19px" />
        </ExpandCollapseColumn>
        <RowIndicatorColumn Visible="False">
            <HeaderStyle Width="20px" />
        </RowIndicatorColumn>
    </MasterTableView>
    <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True">
        <Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling>
    </ClientSettings>
</radG:RadGrid>

My code behind methods for sorting and loading the radgrid are shown below:
protected void SearchResults_PageIndexChanged(object source, Telerik.WebControls.GridPageChangedEventArgs e)
{
    LoadData();
}
  
protected void RadGrid1_SortCommand(object source, Telerik.WebControls.GridSortCommandEventArgs e)
{
    if (!e.Item.OwnerTableView.SortExpressions.ContainsExpression(e.SortExpression))
    {
        GridSortExpression sortExpr = new GridSortExpression();
        sortExpr.FieldName = e.SortExpression;
        sortExpr.SortOrder = GridSortOrder.Ascending;
  
        e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr);
    }
  
}

The LoadData method is used to get the results from the database and returns a data set which I bind to the radgrid.

The Sort method I tried using from the demo, I found here:
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/sorting/defaultcs.aspx


From this I would like to be able to sort all of my columns, except for the effective column, in ascending or descending order depending on what the user selects.  I was also curious if you could offer up any assitance as to how to go about sorting my Item Template column, if that is possible.  Since, my CustomerID is bound to the column and I just use code to display the customer's status, I was not sure if this was possible to sort by the actual status name.

Any assistance would be appreciated. Thanks.

Joe
Iana Tsolova
Telerik team
 answered on 06 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?