Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
206 views
I have different controls in add and edit mode in my Radgrid. However, i want my grid to open in Edit mode immediately once the Add button is clicked. Is this possible? if yes , can some one tell me how ?

Thanks    
Manav
Top achievements
Rank 1
 answered on 28 Dec 2010
4 answers
138 views
Hi, I have a question regarding if anything special is needed to bind a recurrence editor from a code behind file. I am using an Advanced form where I pull open a Rad Dock to handle my scheduler appointment creation. The problem I have occurs when someone goes to edit a series. I am retrieving the Recurrence rule from the master appointment as well as the original start date and end date and I'm binding them in the Scheduler.FormCreating event in the code behind. It looks something like this:

StartTime.SelectedDate = TheScheduler.UtcToDisplay(master.Start);
EndTime.SelectedDate = TheScheduler.UtcToDisplay(master.End);
SubjectText.Text = master.Subject;
DescriptionText.Text = master.Description;

This binds all of the master appointment data to the Rad Dock even if someone selects to edit the series from an occurrence that isn't the master event. This works fine once the Rad Dock loads and displays the values; however, if a user chooses to go on and triggers a post-back my Recurrence Rule's start and end time isn't being remembered. It shows up in the Rad Dock properly, but does not remember the start and end values after post-back. Here's an example of the values I am getting on load, and those I am getting on post back:

//On Load (RecurrenceRuleText retrieved from VS2010 Immediate Window)
"DTSTART:20101227T000000Z\r\nDTEND:20101228T000000Z\r\nRRULE:FREQ=DAILY;COUNT=4;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU\r\n"
 
//On Post-back (RecurrenceRuleText retrieved from VS2010 Immediate Window)
"DTSTART:20000101T000000Z\r\nDTEND:20000102T000000Z\r\nRRULE:FREQ=DAILY;COUNT=4;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU\r\n"

The strange part is that the other aspects of the Recurrence rule are remembered properly which leads me to think maybe I am not binding my StartTime and EndTime values correctly.

Attached is a picture of the Recurrence editor before post-back
Brian King
Top achievements
Rank 1
 answered on 28 Dec 2010
1 answer
75 views
i want to show various data which is cover as a different colour in the pie chart?
Evgenia
Telerik team
 answered on 28 Dec 2010
2 answers
89 views
I am trying this demo
http://demos.telerik.com/aspnet-ajax/tabstrip/examples/firstlook/defaultcs.aspx

When i click the tab it doesn't change the tab content.
i just used the same code, the only diffrence is i am using in a master page.

Any help?
Eva



Eva
Top achievements
Rank 1
 answered on 28 Dec 2010
4 answers
113 views
Hi everybdoy.
First of all in my database I have a field called enable its tipe is bigint. I want in the page_load If enable is set = 1 my GridClientSelectColumn  be ckecked, and  if enable is set = 0 my GridClientSelectColumn  be unchecked.
I have already read the documentation and searched the forum but i found no answer. Does anybody know how can I do this?
Mina Jeffrey
Top achievements
Rank 1
 answered on 28 Dec 2010
2 answers
62 views
Hello

I'm having issues with a combobox trying to reproduce the validation groups example.
However my issues have nothing to do with the validations groups but only with the display of the RadComboBoxItem (cf. attached screenshot)
 
Here is my ASPX code :

<label>Project : </label> <telerik:RadComboBox ID="ComboBoxProjects" Width="180px" runat="server" />

And my C# code :

protected void Page_Load(object sender, EventArgs e)
 {
        if (!IsPostBack)
        {
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("- Search in -"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("All Platforms"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("ASP.NET"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("WinForms"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("Silverlight"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("WPF"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("Reporting"));
         }
}


Thank you for your help, I start to be kind of desperate here T_T
Sylvain
Sylvain
Top achievements
Rank 1
 answered on 28 Dec 2010
1 answer
125 views

I am trying to figure out how to determine which item parent or child grid item is being process in the ItemDataBound event.  My data set has two tables and unique names but trying to use: e.Item.OwnerTableView.DataMember does not give me the name of the table.  For the detail records I am using Dim parentItem As GridDataItem = e.Item.OwnerTableView.ParentItem to determine if it is a parent or child item but I need to change the header property but can not figure out how to do this.  I tried using Dim headeritem As GridHeaderItem = DirectCast(e.Item, GridHeaderItem) to determine parent or child but am not sure how to accomplish.

Any ideas how I can easily determine at the header level if I am processing the parent or child header?

Thanks

John

 


Elliott
Top achievements
Rank 2
 answered on 28 Dec 2010
5 answers
1.7K+ views

Hi I get an error "Could not load file or assembly 'Telerik.Web.UI, Version=2010.2.713.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)", and I am running Telerik.Web.UI Version = 2010.31109.35 which is the one I am referencing but it kkeps on refering to the old verion 2010.2.713.35, will anyone please help with the error.

Regards 
Vasil
Telerik team
 answered on 28 Dec 2010
2 answers
70 views
hi ,
i am using a rad window to open the page in sapreate window, now in my scenerio i need to open my page in full maximize mode. means, when user hit the button "open new window" then window should get open in full maximize view. can any one help me to accomplish this.

thanks,
Micheal
Micheal
Top achievements
Rank 1
 answered on 28 Dec 2010
1 answer
52 views
I've searched your site and the web for days and cannot find an answer to this.  I have a RadGrid with a detail table (GridTableView).  My detail table has an edit column that I want to use to update my database via the updatestatement from the sqldatasource.  I also want to be able to insert new records in my detail table, but using a different form for inserts.  Per your site, I have created two user controls (ascx files) that have each of my forms for inserting and updating, and am able to display the correct one when clicking the appropriate link.  My problem is that when I click the respective submit button, the values passed via my updateparameters or insertparameters to the updatestatment and insertstatment of my sqldatasource are all null.  I have implemented the global dataitem in my usercontrol, and am able to display values on the usercontrols using the <#% Bind() %> syntax, however it appears to be a one-way binding.  How can I configure the usercontrol to bind 2-way so that the update and insert commands of the sqldatasource work properly?  Every work around I've seen requires a bunch of code and handling of events like needdatasource.  This seems like it should be simple as I just need to get the values from my form to my parameters passed to my sqldatasource.  If I implement one form as a template I can get it to work, but how do I do it using seperate usercontrols and also using sqldatasource as my datasource?
Iana Tsolova
Telerik team
 answered on 28 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?