Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
121 views
Very simple scenario...I have a form with a div that is initially displayed.  I have a simple span with an "onclick" that toggles whether the div is displayed using the div's style.display attribute.  The form also has controls on it that do ajax postbacks to update other controls.  Let's say I hide the div client-side, then do an ajax postback.  When the ajax postback is done, the div goes back to being displayed as it was when the form initially loaded.  How can you maintain things that happen client-side with javascript after an ajax postback occurs.  If I hide the div setting style.display = 'none' and then do an ajax postback, i want the div to still be hidden.  Any help?
Martin
Telerik team
 answered on 15 Sep 2009
2 answers
100 views
I found something and I really need this to get working. When using RadBinaryImage inside of XmlHttpPanel. This is super easily reproducable, but if any code needed I will post a small demo project.

Please can you let me know what is the status of this?
Ivan Zlatanov
Top achievements
Rank 1
 answered on 15 Sep 2009
1 answer
44 views
Hi,

I have a RadGrid with a DataSource which is an ObjectDataSource, i have found that renaming the ObjectDataSource to say ObjectDataSource1 to odsDS1, i cannot reference it from the intellisense in the code behind.

I have also found that adding a new ObjectDataSource the object cannot be referenced in the code behind.

This all works find in and ASP.NET page without Telerik controls.

Any ideas?
Martin
Telerik team
 answered on 15 Sep 2009
2 answers
73 views
Hi all,
I have a radgrid. In the rows, I have attachments of word or excel documents. I have made a functionality to open these documents and view them. I want to open these documents and also edit them without downloading on my local machine(ie. the opened document shoudl be editable and it should be saved on the server after edition).
Is there a solution possible?

thanks in anticipation,

Amol Parikh
Amol Parikh
Top achievements
Rank 1
 answered on 15 Sep 2009
6 answers
128 views

Hi,

I have a situation where I have One control that is used to enter Exercise Equipment, it is called the Equipment Maint. This EquipmentMaint has two child controls (programs). One allows you to enter the

type of equipment, the other child control allows you to enter the location of the equipment.

Each child control program uses a RadToolTip to accept the name of the type or name of the location. I am trying to use a

asp:RequiredFieldValidator in each child control program to make sure there is a name entered.

 

When I click on the "Add new Location", the RadToolTip appears that allows me to enter the location name. The problem is that even though I enter the location name, the RadToolTip stays on the screen. I found out that this happens because even though the Type name RadToolTip has not been called yet, the

asp:RequiredFieldValidator placed in both control programs requires both controls to have thier particular name field populated. In other words, even though the Location program RadToolTip name field is populated, its RadToopTip will not go away until the type name is populated, and, even though the type location program RadToolTip name field is populated, its RadToopTip will not go away until the location name is populated
I read this ....

 

6. RequiredFieldValidator inside the RadToolTip
When you use a RequiredFieldValidator inside a RadToolTip you add the RequiredFieldValidator to the page, not only to the displayed in the tooltip part of it. After that, when you click any of your page’s elements which cause validation, those trigger the check of the validator, which fails even if the content of the tooltip is invisible. That is why, in such scenarios you have to set the CausesValidation property to false for all elements on the page that do not require it.

So, I guess my question is obvious - how do I handle validation in this scenario.
Is there a telerik efficient way to do this ?

thanks

IQworks
Top achievements
Rank 1
 answered on 15 Sep 2009
1 answer
90 views
Hello,

Following some samples in forums, my intention was to insert an EditorDropDown during Page_Load with
                        EditorDropDown ddn          =   new EditorDropDown("TranslateTool");  
                       ddn.Text                     =   "Translate";  
                       ddn.Width                    =   new Unit("130px");  
                        e1.Tools[0].Tools.Insert(0,ddn);    
 

but I get a crash, my editor being created in OnInit with
                    RadEditor e1                    =   new RadEditor();  
                    e1.ID                           =   string.Format("RadEdt{0}_{1}",ID,fldName);  
                    e1.ToolbarMode                  =    EditorToolbarMode.ShowOnFocus;  
                    e1.Content                      =   desc.LongVal;  
                    e1.Width                        =   memoWidth;  
 

I suspect that ShowOnfocus is the reason of this crash.

Is it possible to insert a tool during Page_Load when using ShowOnFocus.

Thanks for help.
CS
CSurieux
Top achievements
Rank 2
 answered on 15 Sep 2009
1 answer
136 views
Hello,

Do you know if it's possible to pilote the scheduler of Lotus Notes with le RadScheduler ?


Thank you

Jean-Yves
Schlurk
Top achievements
Rank 2
 answered on 15 Sep 2009
1 answer
84 views
I have a grid that allows the user to reorder columns. I've set AllowColumnsReorder to true, which allows the user to drag and drop to reorder columns, but I'm not sure how I can tell what order the columns are in after the user is done. Can I figure that out by iterating through the Columns collection to find the order of the columns? If so, how would I do that? Alternatively, is there an event that fires when a column is reordered? Should I keep track of the column order using that event?

Thanks!
Schlurk
Top achievements
Rank 2
 answered on 15 Sep 2009
1 answer
99 views
Hi,

I have radgrid. Inside radgrid there is tabstrip. Tabstrip has button. When i click button i want open radwindow. When i open window i want pass querystring as Id filed.

How can i do that?, Is there any sample?

I try to do like this. But its not working
  "Response.Write("<script language = Javascript>var win= radopen('DocumentInfo.aspx','RadWindow1');</script>");"


lakmal




Jake
Top achievements
Rank 1
 answered on 15 Sep 2009
18 answers
431 views
I have been looking but I can't seem to find an example on this. What I have right now is a rad calendar that is bound to an sql datasource. It views fine. What I want is on the initial page load for everything to be not shown. I will eventually have a treeview on the left side that will have js client events so when  user checks one of the items, it shows the appointment. When they uncheck the item, it will hide the appointment again. I would like to do all of this on the client side. I.e. I want to still load all of the appointments on the page load but set them to hidden. I then want to show only the ones they check on. Is there anyway to do this? Thanks
Web Services
Top achievements
Rank 2
 answered on 15 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?