Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
136 views
I also opened a case on this but feel others might either (a) have insights or (b) get value out of the response. Thanks!
*************
I have a radwindow:
<telerik:RadWindow ID="StudentCheckListWindow" runat="server" Modal="True" AutoSize="true" EnableShadow="true"
  
Behaviors="Close" ReloadOnShow="true">

With a user control inside. The user control has a radgrid which lists a series of links. When one of the links is clicked it does a response.redirect to redirect the page.

During testing, I enabled IE script debugging and I am getting the attached error (saying e is undefined). I have tracked it down to the following scenario.

  1. Page opens with RadWindow hidden
  2. User clicks on a link which calls some JavaScript using RegsiterStartupScript (see below)
  3. User then opens the RadWindow via oWnd.Show() syntax and RadWindow opens
  4. Item is clicked and response.redirect is called. JavaScript error (attached) is thrown. Page DOES redirect fine.

If the item is clicked in the RadWindow before any RegisterStartupScript is called everything is fine. Also, if I run something RegisterStartupScript and then do a full page postback and then open the window everything is fine. It's almost like RegisterStartupScript is changing the page DOM and then the RadWindow is throwing an error which is fixed by a full postback.

My code block looks something like:

ScriptManager.RegisterStartupScript(Page, this.GetType(), "RedirectScript", "window.open('" + redirect + "');", true);

Thanks in advance!
mc2000
Top achievements
Rank 1
 asked on 08 Nov 2010
3 answers
470 views
i export radgrid to excel sheet , sometimes i make filter then export as it should export the filtered data not all the data........the code is :

            radGrid.MasterTableView.AllowPaging = false;
            radGrid.MasterTableView.AllowFilteringByColumn = false;

            radGrid.Rebind();

            radGrid.ExportSettings.FileName = "Logs Sheet_" + DateTime.Now.ToShortDateString();
            radGrid.MasterTableView.ExportToExcel();

line 2 which disable allowfilter is used to hide filter button and text in the same time it export all the data not the filtered and this is the problem .i tried to hide button but there no fuction to hide text..................
nader
Top achievements
Rank 1
 answered on 08 Nov 2010
0 answers
128 views
I have a day with multiple appointments, in Month view, it is showing the first 30 (VisibleAppointmentsPerDay setting) but when I switch to day view it is only showing one appointment.

We are using the DataSource property.

Everything thing I've seen indicates this should just work, so I don't even know where to start to figure out what is going on.  Any direction would be of great help.

Edit: just tried it with fewer appointments (50 instead of over 100) and although the boxes get too small to read, it appears to have rendered all the appointments - is there a limit of some kind?
Travis Bolton
Top achievements
Rank 1
 asked on 08 Nov 2010
1 answer
101 views
Hi,
I have a bound grid to an entity datasource and can edit the data correctly.
One of the columns is a key (plantID) that is initially passed in from the load as a parameter on the datasource.
This key value needs to be defaulted to that same parameter value when I am adding a record....
I can do this fine using

       If (e.CommandName = RadGrid.InitInsertCommandName) Then
            'cancel the default operation
            e.Canceled = True

            'Prepare an IDictionary with the predefined values
            Dim newValues As System.Collections.Specialized.ListDictionary = New System.Collections.Specialized.ListDictionary()
            newValues("plantID") = Session("PlantID")

            'Insert the item and rebind
            e.Item.OwnerTableView.InsertItem(newValues)
        End If

When I go to add a new record there is a textbox with the correct session value for plantID in there and the value inserts ok...
What I want to do though is hide this text box when the grid is in edit mode - but I can't seem to do it without forcing the column to be read only - which obviously defeats the object...
Is there a way of using the default insert value as above but not displaying the textbox in edit mode?

Thanks in advance for any help...
Andrew
Top achievements
Rank 1
 answered on 08 Nov 2010
1 answer
95 views

Can anyone one share any idea

which version of telerik(asp.net ajax) is compatible with asp.net 3.5 and also pls share any path to get trail version for the same

Prangadj
Top achievements
Rank 1
 answered on 08 Nov 2010
1 answer
157 views
Hi

I am filling a listbox based on the values selected in a tree view, the list box items need to be a RadEditor, i have this working but sometimes when the list box items are created and added the RadEditor Menu items are displayed aswell (this does not happen all the time).  I dont want the menu items to display as i only want to show the content as though it was a textbox with no editing functionality. Can i set the Menu Property at the point of creating the content item to ensure that the menu does not show.

My Code that creates the ListBox Item and Editor Content is as follows :
For Each node In RadTreeViewTCs.GetAllNodes
 
                    If node.Checked = True Then
                       'Do Some Stuff Here
                    ElseIf node.Checked = False Then
 
                        Dim Value As New RadListBoxItem
                        Dim Content As New RadEditor
 
                        Content.Content = node.Text.ToString
                        Content.Width = "150"
                        Content.Height = "75"
                        Value.Controls.Add(Content)
                        ListBoxExcludedTCS.Items.Add(Value)
 
                    End If
 
                Next node
 
                ListBoxExcludedTCS.DataBind()
Dobromir
Telerik team
 answered on 08 Nov 2010
1 answer
98 views
hi,
I am using ontextchange for rednumerictextbox  inside radgrid while i want to create new row after ontextchange event it is possible.
here problem is that when cursor leave this textbox on same time this event not fire cursor move to next button and then press ok then
this event working why???

Thanks
Tsvetina
Telerik team
 answered on 08 Nov 2010
9 answers
208 views
Hi,

We have built a c# .net web application. The app has various controls on a page including text boxes and drop down lists etc, we have also included a radeditor control. In all other browsers the look of the page is fine, but in IE 6 the styling breaks.

Firstly the top border of the radeditior is missing and then other controls on the page move position.

I attach 3 screen shots to illustrate.

Normal.jpg shows how the page should look
Broken 1.jpg shows the missing top border of the radeditor frame
Broken 2.jpg shows how the other fields on th page have moved.

Has anyone else had the same problem and can advise how to resolve this.

I look forward to hearing from you.

Regards
Gary
Dobromir
Telerik team
 answered on 08 Nov 2010
1 answer
137 views
Is there something I should be doing in codebehind or some setting I need to enable to allow uploads through fileexplorer? The upload button isn't clickable; it's grayed out, and if I hover over it it just shows "mylink.aspx#". What am I doing wrong

Do I have to create another radwindow with a radupload control in it?

       <telerik:RadFileExplorer ID="expTest" runat="server"  VisibleControls="All"
            Configuration-ViewPaths="~/Images" DisplayUpFolderItem="true" EnableCopy="true"
            EnableCreateNewFolder="true" Skin="Black" Configuration-UploadPaths="~/Up"
            EnableOpenFile="true" OnClientItemSelected="itemChosen">
<Configuration ViewPaths="~/Images" SearchPatterns="*.*" UploadPaths="~/Up"></Configuration>
        </telerik:RadFileExplorer>
Fiko
Telerik team
 answered on 08 Nov 2010
1 answer
116 views
I have a page with 4 tabs tied to a multipage, the 4th tab loads a control that has 2 tabs using a multipage.

How do I reference the second multipage control?

RadMultiPage

 

multiPage = (RadMultiPage)Page.Master.FindControl("ContentPlaceHolder1").FindControl("radmultipagePayment");

 


This does not find it.  I tried this as well:

RadMultiPage

 

multiPage = (RadMultiPage)Page.Master.FindControl("ContentPlaceHolder1").FindControl("radmultipageCheckOut").FindControl("radmultipagePayment");

It fails to find the initial multipage so the line fails.

Ideas?

 

Jeff Reinhardt
Top achievements
Rank 1
 answered on 08 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?