Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
121 views
I have a RadTreeView control that runs a function on the onclientnodeclicked event.  I do not want the code in the function to be executed unless the node is a "leaf" (a node with no children).  How do I accomplish this?
Joe
Top achievements
Rank 1
 answered on 09 Nov 2010
1 answer
198 views
hi,

I wanna disable or hide scroll bar (of page horz. and vert.) when ajax call comes up to change panel content using RadAjaxManager and RadAjaxLoadingPanel, and I wanna restore or enable it after ajax has been finished calling, so how do I do that?
Maria Ilieva
Telerik team
 answered on 09 Nov 2010
18 answers
1.1K+ views
I have a 3rd party tool called MXSync which syncronizes data between Exchange Server and Sql Server.  We are using this in conjuntion with the scheduling tool and it's been working great with one exception.  Recurrence rules in exchange seem to be stored differently than recurrence pattenrs in the scheduling tool.  For example, I created a recurring appointing via outlook and it imported the data into SQL Server like this FREQ=DAILY;INTERVAL=1;COUNT=3;WKST=SU , the same recurring appointment created via the scheduling tool stores the data like this DTSTART:20100623T000000ZDTEND:20100624T000000ZRRULE:
FREQ=DAILY;COUNT=3;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU.  I don't know enough about exchange server to know if one format is correct or not.  If the formats to not match up properly data gets deleted from the scheduler when the data sync occurs and the recurring appointments get deleted.  Any help if getting this resolved would be appreciated,

Thank
T. Tsonev
Telerik team
 answered on 09 Nov 2010
4 answers
112 views
I am using the RadGrid for the first time
I need to change the language in french so i am using RadGrid.Main.resx

The only problem i can't find  where to modify the text for the edit in the resx file.
Please refer the the link below to know wich edit button i mean.
Look just before ProductID

Any idead tks in advance!

http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/popupeditform/defaultcs.aspx


Luc
Luc Émond
Top achievements
Rank 1
 answered on 09 Nov 2010
7 answers
190 views
Hi,

I am using an ASP update panel and RadAjaxLoading Panel. I prompt the user to save the details when he navigates away. I get an "Error: Unspecified error." ,when I click on the cancel button in the popup which appears. Is there a workaround/Fix for this?

Regards,
Saravanan
Maria Ilieva
Telerik team
 answered on 09 Nov 2010
4 answers
170 views
Hello,
I am trying to add RadFilterTextFieldEditor programmatically. It works fine BUT after any action with the field I am getting an error

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object.

ASP code

   <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="LoadingPanel1" EnableAJAX="true" >
             
                <telerik:RadFilter  runat="server" ID="RadFilter1" ExpressionPreviewPosition="Bottom" Enabled="false" RegisterWithScriptManager="true" EnableEmbeddedScripts="true"  EnableViewState ="true"  >
                </telerik:RadFilter>
            </telerik:RadAjaxPanel>

C# code
   RadFilterTextFieldEditor editor = new RadFilterTextFieldEditor();
            editor.FieldName = "field1";
            editor.DataType = typeof(string);
            editor.DisplayName = "Field 1";
            RadFilter1.FieldEditors.Add(editor);
            RadFilterTextFieldEditor editor1 = new RadFilterTextFieldEditor();
            editor1.FieldName = "field2";
            editor1.DataType = typeof(string);
            editor1.DisplayName = "Field 2";
            RadFilter1.FieldEditors.Add(editor1);

Please help !!!
Iana Tsolova
Telerik team
 answered on 09 Nov 2010
3 answers
948 views
Hello All,

I have a quite complex RadGrid with 3 hierarchy levels.
Data is show like below In RadGrid:

Organization1
   - SubOrganization1
        - SubSubOrganization1
Organization2
   - SubOrganization2
        - SubSubOrganization2
   - SubOrganization2B
        - SubSubOrganization2B
Organization3
   - SubOrganization3

Organizations are referenced in RadGrid using Ids. Every Organization has it's own Id, also Sub Organizations.

Now I have noticed a problem e.g. when I read data from Database which belongs to same Organization hive but are stored in different rows in Database. Right situation is like Organization2 in picture above, wrong one is sample below.

Is it possible to prevent inserting a row that allready exits in RadGrid using ItemCreated method and insert row in proper place in hierarchy?
I can get all Ids of Item in ItemCreated method but how to check from RadGrid that row or part of it doesn't allready exists and put childs after it?
Couldn't write such code I disn't get it to work, anyone have a sample?

I try avoid to create same first or second hiearchy level items but instead put their 3th level childs nicely below one hive (like Organization2 above).

Wrong hierarchy that I get now is like following where Organization2 is two diffrent hives:

Organization1
   - SubOrganization1
        - SubSubOrganization1
Organization2
   - SubOrganization2
        - SubSubOrganization2
Organization2 <=  This is wrong!
   - SubOrganization2B
        - SubSubOrganization2B
Organization3
   - SubOrganization3

Cheers

Tsvetina
Telerik team
 answered on 09 Nov 2010
1 answer
94 views
Hi,

I am using RadGrid with grouping.

I am grouping by 4 fields in the table that represent the outline level in an Excel spreadsheet that I am transfering to a database.
4 is the maximum number of levels I have but not all the rows use up to 4 levels.

there is a way to remove/Hide group levels that are blank?

See the attached picture.

Thanks,

-Gabriele
Veli
Telerik team
 answered on 09 Nov 2010
1 answer
98 views
Hello to telerik.

I found this different information about client side validation extension on RadUpload.

this is saying arguments.IsValid = <%= RadUpload1.ClientID %>.ValidateExtensions(); missing $find() function

and this is saying arguments.IsValid = $find('<%= RadUpload1.ClientID %>').validateExtensions();

so I thing there should be find function.

But whats worries me is when I do this: var fileInputs = $find(fileuploadId).GetFileInputs(); I get Error: $find(fileuploadId).GetFileInputs is not a function. And variable fileuploadId is correct because validateExtensions on that object works fine...

I want to check if there is at least one file selected (on client). Do you know about better approach? Thanks.


Cori
Top achievements
Rank 2
 answered on 09 Nov 2010
1 answer
167 views
Hi,

I have a page, where there is 3 radeditor controls along with other form elements (e.g. textbox, combobox etc). My requirement is, I need to 'extract' the RTF from these 3 controls and store it in the database. I have looked up different posts regarding this, but all the sample applications that was posted was using the method to use Response.Redirect (to stop the Save Dialog popto to open), after I call the ExportToRtf() method. But, I wont be able to get the RTF content of all the RadEditors after the 1st Response.Redirect (also, my view state will be lost along with all the data that was eneted by the user in the form elements).

I have also tried putting OpenInNewWindow = "false", but this doesnt seem to work (my control def is given below).

<

 

 

telerik:RadEditor ID="txtAfterChange" Width="250" Height="150" ToolsFile="~/Script/ToolsFile.xml"

 

 

 

ToolsWidth="330px" runat="server" EditModes="Design" ToolbarMode="ShowOnFocus">

 

 

 

<ExportSettings OpenInNewWindow="false">

 

 

 

</ExportSettings>

 

 

 

</telerik:RadEditor>

Is there any alternative, or any resolution to my problem? Please help me !

Regards,
Bhaskar

 

Rumen
Telerik team
 answered on 09 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?