Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
438 views
I have a treeview that is set to load on demand.

When the user clicks a node, the page is reloaded with updated info and the treeview is reset back to showing just the parent node.

I need to have it auto-expand back to the previously selected node.

I've tried the FindbyValue method but since the trees not populated, there's no value to be found.

I've tried to navigate thru expanding as I go (I have the path to the end node saved) but I can't force the treeview to expand to populate the child.

Anyway to do this???

thanks.
Yana
Telerik team
 answered on 15 Oct 2010
3 answers
79 views
I have a rad scheduler that I am using to display appointments. However when my user double clicks to add an appointment - i want to auto fill it with some information - is there an event such as "OnAppointmentInsertClicked" or something that will give me access to the subject field that will let me populate the value. So for instance when they double click on a time range I want the little popup to populate with values of the Customer Name. Is this possible?
Veronica
Telerik team
 answered on 15 Oct 2010
2 answers
88 views

When the file explorer is loaded I add handlers to intercept context menu handling for the tree view part (I enable/disable menu options). This is hooked up like this

 

In a user control:

<telerik:RadFileExplorer  ...  OnClientLoad="EXPLORER.attachHandlers"  …

 

the javascript:

var EXPLORER =    {

        attachHandlers: function (explorer, args) {

               var tree = explorer.get_tree();

               tree.add_contextMenuItemClicking(EXPLORER.treeContextMenuClicking);

               tree.add_contextMenuShowing(EXPLORER.treeContextMenuShowing);

   },

 

The functions treeContextMenuShowing and is now run every time I right click a folder  in the tree and treeContextMenuClicking  is run when I click a menu context menu item.

 

However, those functions isn't called on user interaction anymore after I've done an "updating command", like renamed a folder or created a new folder via the context menu in the tree view. The events stops firing for all the folder nodes in the tree, not only the one(s) I've updated.

 

I also has showing and click events hooked up for the grid context menu, and they keep working after I do updates to the items in the grid. So the problem is local to the tree.

 

What do I do to fix this?

Thank you,

Best regards,

Andreas Nilsson

Andreas
Top achievements
Rank 1
 answered on 15 Oct 2010
7 answers
225 views
Hello everyone,
I am currently using the latest version of the telerik library.
The problem is that I have a RadListBox and I add items to it using the client side API.
It is not working properly as it is not refreshing the UI. But it is adding the items on the background, I know this because when I get the items the added one is in the list.
I have seen old posts about this and says to update to the latest to fix it, but that is not my case :S

Thanks in advance,

Sergio Martinez

Here is the code I'm using:

    varPreferencesScheduleList.trackChanges();// this is my list
            
            var item = new Telerik.Web.UI.RadListBoxItem();
            item.set_text(newText);            
            varPreferencesScheduleList.get_items().add(item);
            
            varPreferencesScheduleList.commitChanges();
Yana
Telerik team
 answered on 15 Oct 2010
20 answers
428 views
Hi,
          I'm using radscheduler in my application and it is not supported by IE8. It looks more compressed. Can some body throw some light on it.

R/ Michael.
Ian
Top achievements
Rank 1
 answered on 15 Oct 2010
3 answers
134 views
Hi,

we have a radgrid with paging enabled, advanced databinding using the NeedDataSource event and filtering enabled on a column.

When we call MasterTableView.ExportToExcel() we're getting the following error :
[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Web.UI.RadAjaxControl.OnPagePreRenderComplete(Object sender, EventArgs e) +83
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8699938
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1029

The ExportSettings.IgnorePaging is set to true. When i change that to false the export does work.
I've read a thread on this forum and the answer to this problem was to use advanced-binding but we're already using that.
We're using Telerik.web.dll 2010.1.519.35
Daniel
Telerik team
 answered on 15 Oct 2010
1 answer
110 views
hi,

I have a similar scenario like this example ExportFromContentPageWithAjaxEnabled.zip at http://www.telerik.com/community/code-library/aspnet-ajax/general/export-radgrid-content-to-excel-word-csv-pdf-with-ajax-enabled.aspx

but instead of the asp buttons at Grid's CommandBar, i want to use the default image buttons that RadGrid Generate when i use:

<CommandItemSettings ShowAddNewRecordButton="True" ShowExportToCsvButton="True" 
                ShowExportToExcelButton="True" ShowExportToPdfButton="True" 
                ShowExportToWordButton="True" />

How i can turn off the ajax for this one at ajax manager?

Best
Regards
-Luis
Daniel
Telerik team
 answered on 15 Oct 2010
2 answers
138 views
Hi everybody,

I have a page which contains a TabStrip.

The tabs are added dynamically and the pageViews related to the tabs in the event  "OnPageViewCreated".

In the pageview of the second tab, I have added 2 usercontrols.
The first usercontrol contains buttons, the second contains a radgrid.
A scroll is automatically added in the Pane for the two usercontrols.

How can I force the first usercontrol to be fixed and the other control to be scrollable?

Thanks for help.
TANSERI
Top achievements
Rank 1
 answered on 15 Oct 2010
1 answer
102 views
In MOSS 2007 I have been adding this:

<a href="JavaScript: GeneralPopup('/SiteCollectionDocuments/HTML/OurPromise/hw_comm.html')">[more]</a>

but when i save, I get this:

<a>[more]</a>

The javascript is supposed to open the link in a custom popup page. How can i get this to work, or are there any alternative ways to get the same result?

I saw this post : http://www.telerik.com/community/forums/sharepoint-2007/full-featured-editor/javascript-in-moss-radeditor.aspx 

But the post is way too long and confusing.
Stanimir
Telerik team
 answered on 15 Oct 2010
3 answers
207 views
Is it possible to do a preupload validation that requires server-side code?

For example, I want to make sure that a variable is in session before the upload continues.  We have users that go thru our upload process, get to the end (which removes all session variables), then they click Back on their browser and try to do another upload.  Doing so causes a NullReferenceException.

I'd like to check to see if the session variable exists.  If it does, allow the upload to continue.  If not, forward them to a new page telling them their session has expired.

Any ideas would be greatly appreciated.

Thanks,
Kyle
Cori
Top achievements
Rank 2
 answered on 15 Oct 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
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
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?