Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
279 views
Hi,

In my radschuder i have implement the example code that i find in this page:

http://demos.telerik.com/ASPNET/Prometheus/Scheduler/Examples/ContextMenu/DefaultCS.aspx

If not use this contextmenu is simple to set the readonly if the users is not administrator..

But how i make to set the readonly on scheduler with the contextmenu?, because use javascript...

example

if row("UserAdmin") = "1" Then

radscheduler1.readonly = true

Else

radscheduler1.readonly = true

End if

How i make if i use the contextmenu click for insert o modifify appointment?
Show or hide the contextmenu...




Peter
Telerik team
 answered on 21 Oct 2008
1 answer
127 views
Can someone please refer me to a white paper that describes using business objects with RadGrid

Daniel
Telerik team
 answered on 21 Oct 2008
1 answer
110 views

I downloaded and installed the Canadian dictionary. When I do a spell check there are quite a few words that are highlighted which shouldn’t be. Is the Canadian Dictionary incomplete?

Here are some of the words RADspell flags using the canadian dictionary:

·         Reporting

·         Techniques

·         Studies

·         Duties

Rumen
Telerik team
 answered on 21 Oct 2008
7 answers
271 views
Hi,
Im having a problem with the telerik rad combobox.

i am dynamically creating the combobox and setting the combobox's datasource to a precreated datatable.
i am planning on using the item template to display more than one value in the combobox's items.
the combobox loads correctly but when i select an item and click off the combobox it select's the first item in the list.
i also cannot select the first item in the combobox,
and the TextChanged, SelectedIndexChanged, ItemsRequested events never fire

here is some code:

Page_Load
{
TableRow tblRow;
TableCell tblCell;
Telerik.Web.UI.RadComboBox cmbo;

tblCell = new TableCell();
cmbo = new Telerik.Web.UI.RadComboBox();
cmbo.ID = "cmbo1";
cmbo.ItemDataBound += new Telerik.Web.UI.RadComboBoxItemEventHandler(cmbo_ItemDataBound);
cmbo.SelectedIndexChanged += new Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventHandler(cmbo_SelectedIndexChange);
cmbo.ItemsRequested += new Telerik.Web.UI.RadComboBoxItemsRequestedEventHandler(cmbo_ItemsRequested);
cmbo.TextChanged += new EventHandler(cmbo_TextChanged);

cmbo.DataSource = ds.Tables[0];

cmbo.DataSource = ds.Tables[0];
cmbo.DataBind();
tblCell.Controls.Add(cmbo);
tblCell.ColumnSpan = 2;
tblRow.Cells.Add(tblCell);
tbl1.Rows.Add(tblRow);
}

private void cmbo_ItemDataBound(object o, Telerik.Web.UI.RadComboBoxItemEventArgs e)
{
            e.Item.Text = ((DataRowView)e.Item.DataItem)[1].ToString();
}


tblCell.Controls.Add(cmbo);
                                    tblCell.ColumnSpan = 2;
                                    tblRow.Cells.Add(tblCell);



any help would be appreciated,
Regards.


CBARS
Top achievements
Rank 2
 answered on 21 Oct 2008
2 answers
93 views
I'm setting forecolor programmaticaly on ItemDataBound event:
    if (condition...)
        e.Item.ForeColor = Color.SomeColor...

When i selecting the row on client side selector sets its style's color and next, when i deselect the row, the color i have set erased. Default color of current skin comes back.

Is there any way to make selector remembers my color and sets it back?
e-statik
Top achievements
Rank 1
 answered on 21 Oct 2008
2 answers
148 views
Hi all,


I have the following panelbar:
            <telerik:RadPanelBar ID="RadPanelBar1" runat="server" ExpandAnimation-Type="Linear" CollapseAnimation-Type="Linear" ExpandMode="FullExpandedItem" DataSourceID="SqlDataSource1" 
                DataFieldID="id" DataFieldParentID="parentID" DataTextField="Text">  
                <DataBindings> 
                    <telerik:RadPanelItemBinding FormatString="Dept. {0}" TextField="text" Depth="0" /> 
                    <telerik:RadPanelItemBinding  FormatString="MenuItem 1 &gt; {0}" TextField="text" Depth="1" /> 
                </DataBindings> 
                <ItemTemplate> 
                hello  
                </ItemTemplate> 
                <CollapseAnimation Type="Linear" Duration="100"></CollapseAnimation> 
                <ExpandAnimation Type="Linear" Duration="100"></ExpandAnimation> 
            </telerik:RadPanelBar> 

In the template, where it says hello, what I would like to do is to have the bound data show up at the start of the line, then add imagebuttons after that data, all on the same line.

How can I do that?

Currently, it outputs my datarow, then starts a new line with what is in the template, giving me 2 lines for each datarow.  I want only 1 line of output for each datarow.
Bob
Top achievements
Rank 1
 answered on 21 Oct 2008
4 answers
166 views
Hi

I want to be able to save the state of the radDock whenver I move a dock to a different position, I don't want to do a postback of the page I want an Ajax routine to do the save.
What would be the best way to do this?

Thanks
Matt
Matt
Top achievements
Rank 1
 answered on 21 Oct 2008
3 answers
138 views

Hi,

I am just evaluating the controls for use in our application - one requirement I have is to be able to display input type boxes with attached units - the behaviour I want is basically identical to that of the Percent input box but I need control over the symbol displayed on a text box by text box basis.

So for example I instead of:

3.25 %

in a text box, I would want to display things like:

3.25 kg      

or

3.25 m/s

How difficult would it be for me to modify one of the input controls to allow this kind of behaviour?

Thanks,

Jason
Daniel
Telerik team
 answered on 21 Oct 2008
2 answers
183 views
Hi,
I'm trying to find a way to bind the RadRotator to some very simple data returned as JSON from a web service. In one of the help files it suggested  
RadRotator1.set_dataSource(result);
RadRotator1.dataBind();
but this doesn't seem to work - I think the help file was actually referring to the grid.
I would really appreciate some pointers here.
Many thanks
Jeremy
jholt
Top achievements
Rank 1
 answered on 21 Oct 2008
3 answers
200 views
if we are using panel bar with skin=outlook, it will have that blueish color. could we have a property to change that color to something else? i'm not talking about skin but just the color. thanks.
Princy
Top achievements
Rank 2
 answered on 21 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?