Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
71 views
We have a RadMenu that is worked perfectly all pages, except this one page.  On this one page we have a WPF form (i.e. XBAP file) being loaded in a iframe.  On this page, the RadMenu stops working.  I am able to see the parent buttons, but all of the drop down areas no longer appear.

How can the RadMenu co-exist with this WPF component?

Thanks
Scott Manning
Top achievements
Rank 1
 answered on 09 Dec 2014
9 answers
440 views
I just  want to do a caps lock is on tooltip before hitting any key and on key press.
Mehmet
Top achievements
Rank 1
 answered on 09 Dec 2014
3 answers
106 views
Hi,
I am using VS2013 with Q3 2014 controls, setting a textbox label property works fine at runtime but in the designer the width has no effect. Not sure if this is a bug bug?
Maria Ilieva
Telerik team
 answered on 09 Dec 2014
8 answers
110 views
I have a Scheduler bind to a datasource that is linked to a SQL-server.
When I have a schedule with a reminder, I want to save the response to the reminder (Snooze or Dismiss).  When I now Snooze or Dismiss and I close my website and restart the Snooze or Dismiss are gone.

I have set the DataReminderField to my field in the database, I use AppointUpdate and appointsInsert events.  This all works fine.

How can I save the Snooze selection and the Dismiss to the Reminder field in the database?

Boyan Dimitrov
Telerik team
 answered on 09 Dec 2014
1 answer
204 views
I am building a datable from Active Directory data and using this as datasource for my grid but I get the error:

"Cannot find any bindable properties in an item from the datasource "

The error is because I am using: dt.Columns.Add(new DataColumn(property, typeof(Object)));

I don't know if this is a bug or not but I can use that same datable as datasource for winforms DataGridView just fine.
Konstantin Dikov
Telerik team
 answered on 09 Dec 2014
1 answer
75 views
I'm sure that would make a good name for a dance.

To see what I consider to be the problem go to any  image editor demo such as this one.
http://demos.telerik.com/aspnet-ajax/imageeditor/examples/overview/defaultcs.aspx

Click on the crop icon. The crop box appears at the top left of the image and the dialog box opens as well.
Move the crop box from the top left corner to somewhere around the center of the image.
Now try to resize the crop box using any of the nodes on the left side of the crop box.
You will see the crop box jump to the right of the image.

This seems to me to be a bug in the javascript code and should be very easy to fix. I'm not a javascript coder but I believe the offending code is in the ascx file that defines how the crop box works.
Vessy
Telerik team
 answered on 09 Dec 2014
7 answers
200 views
Hi,

I am currently evaluating my options for reading an iCalendar file and displaying it on the web in a read only format.

I am considering using the RadScheduler for this purpose, however in looking in the documentation, I don't see a way to import/read an iCalendar file for RadScheduler.

Is there such an option or could some custom code allow me to read an iCalendar file?

This iCalendar file will be updated periodically through WebDAV from Microsoft Exchange. Thanks.

Andre
Ricard Bertran Vall
Top achievements
Rank 1
 answered on 09 Dec 2014
7 answers
183 views
Hi All,

I'm trying to find a way to correctly hide the master table row if there are now details.

protected void myGrid_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
 {


        if (!e.IsFromDetailTable)
        {
         myGrid.DataSource = GetMasterData(Val1, Val2);  // filter by values
        }
 }


protected voidmyGrid_DetailTableDataBind(object source, Telerik.Web.UI.GridDetailTableDataBindEventArgs e)
{
        GridDataItem parentItem = e.DetailTableView.ParentItem as GridDataItem;
        if (parentItem.Edit)
        {
            return;
        }

        if (e.DetailTableView.Name == "ChildItems")
        {
            e.DetailTableView.DataSource = GetChildItems(int.Parse(parentItem.GetDataKeyValue("ID").ToString()), val1, val2, val3); // filter the rows off of other values
        }
}


Now my issue is that GetChildItems may return 0 rows if the filters don't return any matches.  I've tried looping over the data on a pre_render, but paging gets messed up because it's still part of the datasource.  I've seen that you have to remove it from the datasource, but how is that done if I only know if it should be removed after the detail is bound to it?


    protected void myGrid_PreRender(object sender, EventArgs e)
    {

       
        foreach (GridDataItem gdi in myGrid.MasterTableView.Items)
        {
            //LineCount is the count of child items that the parent actually has.
//so if the MasterData.ChildTable doesn't have items, but  it actually has lines in the DB, hide it.
            if (gdi.ChildItem.NestedTableViews[0].Items.Count == 0 && gdi["LineCount"].Text != "0")
            {
               //this messes up the paging.
                gdi.Display = false;
                gdi.ChildItem.Display = false;
            }
        }

Ideally I don't want to have to pass the child parameters into the GetMasterData() function.

Thanks in advanced.







Angel Petrov
Telerik team
 answered on 09 Dec 2014
2 answers
67 views
For some (big) images the scaling in the LightBox is not OK.

See attached screenshot.

Marc
Kostadin
Telerik team
 answered on 09 Dec 2014
5 answers
648 views
From telerik website:

Use the OnClientTabSelected property to specify a JavaScript function that will be executed after a tab is selected - either by left-clicking it with a mouse or hitting enter after tabbing to that tab.

Two parameters are passed to the handler

  • sender (the client-side RadTabStrip object)
  • eventArgs with one property
    • Tab - the instance of the selected tab

From my understanding, telerik will automatically pass 2 parameters to the handler, and we don't have to specify the parameters. However, what if I need to pass an extra parameter, something like below, how do I do it? 

function ClientTabSelectedHandler(sender, eventArgs, name) {
alert(name);
}

            <telerik:RadTabStrip ID="radTabStripTicketInfo" runat="server" 
                SelectedIndex="0" OnClientTabSelected="ClientTabSelectedHandler(sender, eventArgs, anotherControlID)">
                <Tabs>
                    <telerik:RadTab runat="server" Text="1" Selected="True">
                    </telerik:RadTab>
                    <telerik:RadTab runat="server" Text="2">
                    </telerik:RadTab>
                    <telerik:RadTab runat="server" Text="3">
                    </telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>
Eyup
Telerik team
 answered on 09 Dec 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?