Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
52 views
I have a grid in which I will dynamically create a column with a fixed drop down list. I dont have a datasource so how do I create a GridDropDownColumn
Princy
Top achievements
Rank 2
 answered on 16 Nov 2011
1 answer
95 views
After upgrading to a newer version, 2010.2.929.40, we are seeing the color of the text in the empty text color being rendered as black instead of gray.  Is there a workaround or fix for this?
Shinu
Top achievements
Rank 2
 answered on 16 Nov 2011
3 answers
118 views
How can i change the background color of the combobox dropdown?
Princy
Top achievements
Rank 2
 answered on 16 Nov 2011
1 answer
60 views
i have a radgrid with skin black.When user selects the row I want to change the color of the text.How is that possible?
Shinu
Top achievements
Rank 2
 answered on 16 Nov 2011
1 answer
72 views
Does treelist supports drag and drop functionality?
Shinu
Top achievements
Rank 2
 answered on 16 Nov 2011
2 answers
1.0K+ views
Hello,

I have a RadComboBox. The data comes from MsSql.
I want to take selectedvalue when the selectedindexchanged, but the value equal null.

My RadComboBox
<telerik:RadComboBox ID="RadComboBox1" runat="server" Width="350px"
     EnableLoadOnDemand="True" onitemsrequested="RadComboBox1_ItemsRequested"
     onselectedindexchanged="RadComboBox1_SelectedIndexChanged"
     ExpandDirection="Up" AutoPostBack="True" AppendDataBoundItems="True">
</telerik:RadComboBox>

ItemsRequested
protected void RadComboBox1_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
        
 {
            Telerik.Web.UI.RadComboBox combo = (Telerik.Web.UI.RadComboBox)o;
 
            SqlDataAdapter da = new SqlDataAdapter("SELECT iladi from iller WHERE iladi LIKE '" + e.Text + "%'", MyConnection);
 
            DataTable dt = new DataTable();
            da.Fill(dt);
 foreach (DataRow row in dt.Rows)
            {
             Telerik.Web.UI.RadComboBoxItem item = new Telerik.Web.UI.RadComboBoxItem(row["iladi"].ToString());
 
             combo.Items.Add(item);
            }
        }

SelectedIndexChanged value equal null but when I select a value from radcombobox  RadComboBox1.SelectedValue must equal selected.


protected void RadComboBox1_SelectedIndexChanged(object sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
        {
            //Label1.Text = RadComboBox1.SelectedItem.ToString();
            Label1.Text = RadComboBox1.SelectedValue.ToString();
        }
Emre
Top achievements
Rank 1
 answered on 16 Nov 2011
2 answers
119 views
Hi,

I am using the scheduler as an appointment manager in day view only with multiple resources.

Is it possible to not show the (simple) text box but rather insert (in my example their username) directly on double click?

Cheers,

Jon

Jon
Top achievements
Rank 1
 answered on 16 Nov 2011
2 answers
118 views
Hi
With you build in provider for radScheduler, what technology is used to optimize perfomance with large databaseses.
Example: I have implimented radscheduler for a NPO organization with 400 branches. each branch enter their events, but can also see other branches event. (Permissions handled by me). Public can see all which ever branches they select. (All branches in a region etc).In one year, a brach could have 100-200 events. (That is 100 x 400 events (40000) events per year. After 3 years the events table will be big. What can be done MORE, to save on database, web and network utilization? (Not only for performance, but also for appearance, I already prevent users from selecting more than 15 branches at a time, so my SQL command already limit this to 15 x 400 x years.

I can not delete historical events, because of other database relations (courses and historical course rsvps are connected to the eventid in my db, and those historical information is used all the time)

1. If you look at a month, week of timeline view, what memory is alllocated on th server (only the date range, or everything in memory)
2. How much is in sessions memory? etc.

Do you think it is advisable to tailor my SQL statements to just fetch data within a certain date range?
Guss
Top achievements
Rank 2
Veteran
 answered on 15 Nov 2011
2 answers
114 views
In my provider, I put some additional information about the appointment into the Attributes collection like this:

  appointment.Attributes["somekey"] = somevalue;

I want to access those attributes in events raised by the scheduler.
So I was thinking I could just have something like

  somestring = appointment.Attributes["somekey"];

But this always comes back Null. I can see that the attributes have been populated in the debugger, I just can't figure out how to retrieve values. Can someone show me please? Thanks!
Matt
Top achievements
Rank 1
 answered on 15 Nov 2011
1 answer
210 views
Hello,

I'm using the RadMenu to open the RadWindow. I'm setting the onclick to a javascript function when the menu item should open a new page, if it should navigate to a different page I use the NavigationURL. The server side code dynamically adds the windows to the RadWindowManager based on my Menu.

I would like one of my pages to appear as a modal dialog which dims the parent window (this works great), but I would like another menu item to open a new window that is outside of the parent window. Is this possible? All of the examples of the RadWindow I've seen only allow the window to be inside the page window - is it possible to spawn a new "blank" window?

Server Side (Dynamically Creating Windows):
RadWindow rw = new RadWindow();
rw.ID = "Window" + menuItem.Uid;
[excluded settings here...]
RadWindowManager1.Windows.Add(rw);
newMenuItem.Attributes.Add("onclick", "OpenWindow('"+ menuItem.Uid + "');");

<script type="text/javascript">
    function OpenWindow(menuId) {
        radopen(null,'Window'+menuId);
        return false;    
    }
</script>

<telerik:RadMenu ID="mnuRoot" runat="server" Skin="CustomMenu" EnableEmbeddedSkins="false" Width="100%">
</telerik:RadMenu>

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Default">   
</telerik:RadWindowManager> 

Thanks,
Nathan
Nathan
Top achievements
Rank 2
 answered on 15 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?