Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
864 views
Hi:

I am trying to lauch a window like I have done many times before and the window immediately closes.

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
    <script type="text/javascript">
        //<![CDATA[
        function orderMaintenanceOpenWindow() {
            var ordNbr = document.getElementById("<%= orderNumberTextBox.ClientID %>").value;
            if (ordNbr == "") {
            }
            else {
                var winurl = "OrdersMaintenance.aspx?ordernbr=" + ordNbr;
                // alert(winurl);
                var oWnd = radopen(winurl, "orderMaintenanceWindow");
            }
            return false;
        }
        ...
        //]]>
    </script>
</telerik:RadScriptBlock>
<telerik:RadWindowManager ID="ordersSelectionRadWindowManager" runat="server" EnableViewState="True">
    <Windows>
        <telerik:RadWindow ID="orderMaintenanceWindow" runat="server"
            Height="600" Width="800" Title="Order Maintenance"
            KeepInScreenBounds="True" VisibleTitlebar="true" Modal="true"
            Behaviors="Close, Maximize, Move, Resize" InitialBehaviors="Maximize" />
    </Windows>
</telerik:RadWindowManager>
I see the window fully populated and it just closes.
Any suggestions?
Phil
Phil
Top achievements
Rank 2
 answered on 29 Dec 2010
4 answers
218 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
149 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
83 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
97 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
129 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
79 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
146 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
75 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?