Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
62 views
The manager in my company purchased the radcontrolss for asp.net for ajax, however I am the only developer using it.(we only have one developer... me ;-) )

Is there something I need to do in order to be able to create a support ticket?

thanks
Daniel
Telerik team
 answered on 30 Jul 2008
4 answers
161 views
Can someone update the example below to work on a content page where the radajaxmanager is in the master and the ajaxsettings are specified in the radajamanager proxy? Calling the radajaxmanager1 in the rebind javascript does not seem to work. 

<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">  
     <UpdatedControls> 
          <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> 
     </UpdatedControls> 
</telerik:AjaxSetting>   
 


http://www.telerik.com/DEMOS/ASPNET/Prometheus/Controls/Examples/Integration/GridAndWindow/DefaultCS.aspx?product=grid

HHalim
Top achievements
Rank 2
 answered on 30 Jul 2008
1 answer
180 views
Hi,

I am using the example of shared Calendar/timeviews to save download time but need the default images to populate the controls.
I used the example in a DateTime Picker:

 

<

telerik:RadDateTimePicker ID=dteTDDSQ runat=server Skin="Office2007" SharedCalendarID="RadSharedCalendar" SharedTimeViewID="RadSharedTimeView">
<DateInput InvalidStyleDuration="100" LabelCssClass="radLabelCss_Office2007" Skin="Office2007">
</DateInput>
<Calendar Skin="Office2007" EnableEmbeddedSkins=false>
</Calendar>
<DatePopupButton CssClass="radPopupImage_Office2007"
HoverImageUrl='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Office2007.Calendar.datePickerPopupHover.gif") %>' ImageUrl='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Office2007.Calendar.datePickerPopup.gif") %>' />
<TimePopupButton CssClass="radPopupImage_Office2007" />
<TimeView Culture="English (Australia)" Skin="Office2007">

but this doesn't seem to work.

Unless I amdoing something wrong, having a shared calendar is hard work as you have to provide 1/2 the images & change the style to mimic the standard pop-up calendar.

Does the RadStyleSheet Manager help with download speed of multiple calendars?

Regards

Dimo
Telerik team
 answered on 30 Jul 2008
2 answers
167 views
Hi All,

I'm developing a UI framework and have an event handler defined in an interface so that all User controls / content pages can implement functionality through standard defined methods (interface definition). 

I have a RadToolbar in my ui framework and need to assign its event handler for the button click event in code behind so that each user control can re-define the inner workings of the event based on which buttons have been dynamically added to the toolbar by that page / user control. 

I can get a reference to the toolbar and dynamically add buttons to it no problem, However when i go to hook up an event handler vs 08 complains. 
Using the toolbar.ButtonClick += new EventHandler(addresof Event_Handler_Method)  doesn't seem to work. 

Anyone have any ideas as to how I can accomplish this programmatically or another syntax I can use that works with RadToolBar?  Or am I missing something and doing this entirely incorrectly?

Thanks,
SK
Steve Keating
Top achievements
Rank 1
 answered on 30 Jul 2008
1 answer
81 views
We have a Grid with these pager settinsg in the Skin file:

<PagerStyle HorizontalAlign="Center"

Position="Bottom"

PagerTextFormat="Items {2} to {3} of {5}. Page {0} of {1} {4}"

AlwaysVisible="false"

EnableSEOPaging="True"

Mode="NextPrevAndNumeric"

BackColor="White" />

and a web.config setting to set eh skin 

<

add key="Telerik.Skin" value="Office2007" />

We need to change the font, size, color and trype on the diplayed text in the grid pager. Somehow the modified settings do-not take effect and and the skin files font size and properties override the individual settings.
Dimo
Telerik team
 answered on 30 Jul 2008
1 answer
468 views
I know this is probably a simple request, but I haven't had much luck.  I would like to show a radContextMenu below a button when that button is clicked (not right-clicked), much like the Windows Forms splitbutton works.  However, I'm not having much luck calling the show() method when the button is clicked, probably because I don't know how I'd get a DOM event to pass as an argument.

Is there an easy way to do this or do I have to use showAt() and get the position and size of the button to determine where to pop the context menu?  If so, then perhaps you can help me keep the context menu shown.  Right now, if I use showAt, the menu appears then disappears.  I presumably have to use the recommended $telerik.cancelRawEvent(event), but how do I get the "event" argument?

Josh
Atanas Korchev
Telerik team
 answered on 30 Jul 2008
3 answers
106 views
Hello,

I have a RadDock with 

dock.DockHandle = DockHandle.TitleBar;

I use template for dock.TitleTemplate and
template for dock.ContentTemplate;

All components of TitleBar cause a move(drag drop) of RadDock.

I would like that a Image and HyperLink component  in my TitleTemplate not cause move (drag and drop) of titleBar. It's possible?

Please Help me

Sophy
Telerik team
 answered on 30 Jul 2008
7 answers
224 views
I have the following tag in my RadGrid:

<SortingSettings SortedBackColor="LightYellow" /> 

When I click on the column to sort descending or ascending the column is highlighted in LightYellow as I expected.  What do you have to do to clear the highlighted column?

Here is my SortCommand

   protected void RadGrid1_SortCommand(object source, Telerik.Web.UI.GridSortCommandEventArgs e)  
    {  
        if (!e.Item.OwnerTableView.SortExpressions.ContainsExpression(e.SortExpression))  
        {  
            // The intial page load will not have a NewSortOrder, so Ascending is set to default  
            GridSortExpression sortExpr = new GridSortExpression();  
            sortExpr.FieldName = e.SortExpression;  
            sortExpr.SortOrder = GridSortOrder.Ascending;  
            e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr);  
        }  
        else  
        {  
            // After the initial page load we will have access to NewSortOrder  
            e.Canceled = true;  
            GridSortExpression sortExpr = new GridSortExpression();  
            sortExpr.FieldName = e.SortExpression;  
            // If NewSortOrder is still empty set it to Ascending otherwise start using NewSortOrder  
            if (String.IsNullOrEmpty(Convert.ToString(e.NewSortOrder)))  
            {  
                sortExpr.SortOrder = GridSortOrder.Ascending;  
            }  
            else  
            {  
                sortExpr.SortOrder = e.NewSortOrder;  
            }  
            e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr);  
            RadGrid1.Rebind();  
        }  
    } 

Here is my NeedDataSource where I use ViewState to hold the data since I have a search form above the grid and need it to persist the gird.  Without it the Grid becomes empty.
    protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)  
    {  
        string gridSortString = this.RadGrid1.MasterTableView.SortExpressions.GetSortString();  
        string text = "Grid sort expression: " + gridSortString;    
        DataSourceSelectArguments args = new DataSourceSelectArguments(gridSortString);  
        RadGrid1.DataSource = ViewState["DataTable1"];  
    } 

Dimo
Telerik team
 answered on 30 Jul 2008
3 answers
115 views
Hi,

I am using rad scheduler. I have a custom provider attached to the scheduler.
After executing this function

public class MyDbSchedulerProvider : DbSchedulerProviderBase
{
     public override IEnumerable<Appointment> GetAppointments(RadScheduler owner)
    {
       ---------
      ---------
     return appointments;

    }

I am getting following error

Type 'System.Xml.XmlAttribute' in Assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.Serialization.SerializationException: Type 'System.Xml.XmlAttribute' in Assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.

Please help.

Thanks
Viji

Viji
Top achievements
Rank 1
 answered on 30 Jul 2008
7 answers
227 views
Hi,
I am using the latest version of Telerik RAD Editor in MOSS  2007. Is there anyway to change the default document library in the file/image to other site?

For example, when inserting file/image, I want it to be defaulted to parent or a specific library. Even there is no way to go to the parent site at all from the default user interface.

I also want to do is dynamically via a code-behind or javascript, because the default libary location can be different from site to site. Whether this is possible?

Thanks
Plopper
Top achievements
Rank 1
 answered on 30 Jul 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?