Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
258 views
In a list with rich-text fields (radeditor for lists is enabled on the site) the rdeditor works fine except when a user creates custom tables.  If they edit them and then save they are fine.  If they come back and edit the item without touching the rich text fields the tables lose their formatting.  Any thoughts?  We are using 5.5.0.0.
Stanimir
Telerik team
 answered on 14 Jun 2010
5 answers
179 views
I have a two-level grid with a checkbox in the inner row.  I want to do a JavaScript OnClick handler, but I don't see how to identify which row got checked.

I've tried the <ClientEvents OnRowClick="grdSchedule_ClientClick" /> construct, but that doesn't fire if I click the checkbox.

(This is my first serious foray into the client-side universe.  Thanks for all the help you've given me over the last week or so.)

    Ed
Yavor
Telerik team
 answered on 14 Jun 2010
1 answer
222 views
I have to set up a RadWindow from code behind and then display it. It needs to be set up from the code-behind, because an event needs to fire to copy a file which the child page will display. After the file copy, I want the window to pop up. Nothing happens. The page just postsback with no activity.

When I try putting it in the html and not the code behind, it works fine. Only problem is like I said above is that when the user clicks on the image, it needs to copied.  The JS OnClientClick event obvioulsy fires before the OnClick server side event (which does the file copying). Therefore, it has to be done in the code behind. If somebody can help me figure out what I'm doing wrong, I would greatly appreciate it.

Here is my abbreviated HTML. Note that the RadScriptManager resides on a MasterPage:
<code>

<

 

telerik:RadWindowManager ID="RadWindowManager1" runat="server">

 

 

</telerik:RadWindowManager>

 

<%-- <Windows>

<telerik:RadWindow ID="RadWindow1" runat="server" ShowContentDuringLoad="false" Width="1000px"

Height="600px" Title="View Chart" Behaviors="Default" Skin="Outlook" Modal=true>

</telerik:RadWindow>

</Windows>--%>

<%--<script type="text/javascript">

//<![CDATA[

function openRadWin() {

radopen("../scan/viewChart.aspx", "RadWindow1");

}

//]]>

</script>--%>

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Inline">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="RadGridBulkCharts">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadGridBulkCharts" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

<telerik:AjaxSetting AjaxControlID="chkBulk">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="chkBulk" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

<telerik:AjaxSetting AjaxControlID="RadGridEDLogFiles">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadGridEDLogFiles" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

<telerik:AjaxSetting AjaxControlID="chkEDLog">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="chkEDLog" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">

 

 

</telerik:RadAjaxLoadingPanel>
<code>

Notice I have the client code commented out which I said works fine just to see if it gets into the page_load event of the child page. It does from the client side (when the code is uncommented), but from the server side, the Load event is not hit.

Here is my abbreviated server side code in the event once the onclick event happens:
<code>

 

protected void Chart_Click(object sender, ImageClickEventArgs e)
        {
           
            file = new FileInfo(ChartPath + imgName);
            string cpPath = (string)settingsReader.GetValue("tmpImageFolder", typeof(String)) + ViewState["UserName"].ToString();

            if (file.Exists)
            {
                if (!Directory.Exists(cpPath))
                {
                    Directory.CreateDirectory(cpPath);
                }

                file.CopyTo(cpPath + file.Name, true);

                RadWindowManager1.Windows.Clear();
                RadWindow newwindow = new RadWindow();
                newwindow.ID = "RadWindow1";
                newwindow.ShowContentDuringLoad = false;
                newwindow.Width = Unit.Pixel(1000);
                newwindow.Height = Unit.Pixel(600);
                newwindow.Title = "View Chart Image";
                newwindow.Behaviors = WindowBehaviors.Default;
                newwindow.Skin = "Outlook";
                newwindow.Modal = true;
                newwindow.VisibleOnPageLoad = true;
                newwindow.NavigateUrl = "../scan/viewChart.aspx";
                newwindow.Visible = true;
                RadWindowManager1.Windows.Add(newwindow);

            }
        }


</code>

I checked the  RadWindowManager1.Windows.Count property and shows it to be 1.

What am I doing wrong that the page doesn't come up???

Fiko
Telerik team
 answered on 14 Jun 2010
1 answer
69 views
I am using my own telerik control for a long time, but yesterday my friend give me a his telerik controls to try, because, he say it is new controls. And than problem starts: when I install friend's controls it give me error: "Error creating control"  for all controls.
I am than delete, friend ' s controls, and try my old controls, but same problem. Can you help me please to resolve this problem.


I use: win 7 , visual studio 2010
Princy
Top achievements
Rank 2
 answered on 14 Jun 2010
1 answer
92 views
We had created custom skins for our Q3 2009 verison RadGrids and have just upgraded to Q1 2010.  We want to use the new property EnableHeaderContextFilterMenu to use the new filtering option in RadGrid's header context menu.  When we added EnableHeaderContextFilterMenu="true" to the RadGrid we get an error.

Telerik.Web.UI.RadComboBox with ID='HCFMRCMBFirstCond' was unable to find embedded skin with name 'TelerikCustomSkin'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.


Have looked at this page
http://www.telerik.com/help/aspnet-ajax/grdbackwardcompatibility.html
which recommends setting EnableEmbeddedBaseStylesheet to false.  Have done that and are still getting the error.  I'm guessing there is a new CSS style for the filter combo box that is hosing this up?

Any ideas on how to fix this?  I'd rather not spend another entire day trying to create a custom skin for the new version of the radgrid.

Rosen
Telerik team
 answered on 14 Jun 2010
1 answer
116 views
Hello all,

Can someone tell me how to access the smarttag (or the properties window) for a nested radgrid. I have a radgrid which contains a nestedviewtemplate. In the nestedviewtemplate I have a panel which has a tabstrip and associated radpageviews. One of the pageviews contains another radgrid. I would like to be able to double click the event in the properties window for the nested radgrid and create the event handlers.

Any suggestions would be appreciated!

 
Shinu
Top achievements
Rank 2
 answered on 14 Jun 2010
3 answers
212 views
hi all,

I have a page to enter some details in database. For update i have save button in the radtoolbar. I already discussed in one of my thread regarding confirm box  when press save button. As per the answer i put onbuttonclicking client event and ask for confirmation and set_Cancel of the args to true if they press cancel in the confirmation box. All working fine.

Now i implemted validation controls including reuired fdield validator and custom validator to check the mandatory field and check any duplicate name entered. Here i need to ask the confirmation box after all this validation done only. But now before validation the confirm asking.

In the clientbuttonclicking i just checked whether the inputbox ahve any value and give confirm so i can bypass the confirm box when user not entered the name. But now need to control in the custom validation also. The custom validation checks for database table so i called serverside event to validatite duplication . Now i need a common solution for this. I just ask the confirmation after all this validation simply telling if page.isvalid only i need to ask the confirmation. How can i achieve this?

Akhil Raj
Top achievements
Rank 1
 answered on 14 Jun 2010
7 answers
155 views
Is there somewhere I can go and get all the videos organized by control? I want to watch every video for AJAX, Loader, HTTPXML, Window contro, etc. I would like to see them organized by Part 1, Part 2, Part 3, etc. Is there a way to find this organized in on place? I'm not finding it. I'm also disappointed with the .tts videos fro the trainer are from VS2005.
Todd Anglin
Top achievements
Rank 2
 answered on 14 Jun 2010
1 answer
402 views
Hi,

I used a GridView in one of my ASP.NET web page.  I have seen in some samples that there is a header section for the grid.  The header section contains "Refresh" button and also some export to Excel, PDF, MSWord button.  It does not automatically show in my grid.  What do I need to do in order to get this header show in my grid.

Thanks a lot for any help on this.

Shinu
Top achievements
Rank 2
 answered on 14 Jun 2010
2 answers
120 views
Hi

I am using FileExplorer Control. In that i want to change Grid Folder icon based on the selection of treeview node level. How to change that? Please give me your solution. i am expecting you response as soon as possible.

Thanks
murali
Top achievements
Rank 1
 answered on 14 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?