Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
116 views

I am fllowing the demo for teh filew selector, however I am getting am getting an error from the JS:

Compiler Error Message: BC30451: Name 'ExplorerWindow' is not declared.

Source Error:

Line 83:         function OpenFileExplorerDialog()
Line 84:         {
Line 85: var wnd = $find("<%= ExplorerWindow.ClientID %>");Line 86:             wnd.show();
Line 87:         }



Any ideas??
Brett
Top achievements
Rank 2
 answered on 23 Apr 2009
3 answers
239 views
Hi,
I have a javascript function "func(a,b,c)". I want to dispatch it on the "onClientLoad" event with the parameters, something like:
onClientLoad="func('paramA','paramB','paramC')";

How can i perform it? since onClientLoad only gets the function name.

Thanks,
Hk
ManniAT
Top achievements
Rank 2
 answered on 23 Apr 2009
2 answers
147 views
Can anyone help me with this error I'm getting when I try to build a site?

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

It's occurring on multiple lines, but here's one of them...

<telerik:radscriptmanager runat="server" />

And

<telerik:radtoolbar runat="server" Skin="WebBlue">

Basically wherever a Telerik control is referenced.

After doing some research it seems like it might have something to do with the fact that I'm working off of a shared drive on a server.  But my research didn't find ways to fix the issue.  I also tried putting <trust level="Full"/> in my web.config file, but that's not helping either.

Anyone have any suggestions?



Matt
Top achievements
Rank 1
 answered on 23 Apr 2009
2 answers
98 views
Hi,
I am using RadGrid with ShowGroupPanel set to true.
The group panel is working properly but when i update the column that is being grouped in the sever side and do Rebind() on the grid, the value in the grid is updated but the value in the group panel doesn't.
refresh of the page solved the problem.

How can i rebind the group panel?

Thanks,
Ruth.

Ruth Dahan
Top achievements
Rank 1
 answered on 23 Apr 2009
1 answer
233 views
HI Everyone,

I have a toolbar and a ragd grid on a page.

For adding new records the user clicks on the New toolbar button which launches a Modal RadWindow.
For editing an existing record the user clicks on the row in the grid which displays the selected item in a usercontrol shown within the grid.

If I edit an existing record, the usercontrol is displayed in the grid and the first Field receives the focus and any text in this field is selected. This first field is a RadTextBox with the SelectionOnFocus ="SelectAll".

If I now click on my toolbar New which opens a modal Radwindow the focus is changed to the first field on the modal RadWindow.
I then cancel the modal Radwindow and select an existing item in the grid to edit, this causes the error above, if I continue my usercontrol is displayed in the grid correctly with the first field's text selected.

If I set the SelectionOnFocus ="None" the error does not occur.

I have tried everything I can think of to debug this error further and have so far come up empty.

Please help
Antony
Pavlina
Telerik team
 answered on 23 Apr 2009
6 answers
340 views
Hi,

I use (want to) RadRotator to scroll items on to of a page (Header im Masterpage).
One issue is keeping the item index up do date - still no solution :(

But I got a nem thing.

My Header contains some information (image) and on top of it I have the rotator.
Finally it should do nothing more than srcoll in ONE item from the right - stop on the left,
display the item some time - and scroll in the next.
Since I have info in that section I only want to display one item a time.

Now the problem - as also reproduceable in your sample RadRotator is "full clickable".
http://demos.telerik.com/aspnet-ajax/rotator/examples/gallery/defaultcs.aspx

Thats my Problem - my Header looks like this:
BBBBxxxxIIIIIIIIIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxBBBB
Where BBBB are some border Elements, IIIII is the place where the image is shown and xxxxxx is the scrolling range (width of rotator).
The problem -- IIIIII should be clickable -- BUT -- xxxxx not (except when an item is running by -- but that's not needed).

So how can I avoid that the user can click everywhere in Rotator?

Regards

Manfred
ManniAT
Top achievements
Rank 2
 answered on 23 Apr 2009
1 answer
89 views

I have a button to add/delete node to the tree. When I click on the button and tree is rebound with the data, horizontal scrollbar disappears. I am using Ajax.

Thanks,

-raj

 

Rajesh Aggarwal
Top achievements
Rank 1
 answered on 23 Apr 2009
1 answer
118 views
Depends on a column value on a row, I need to change datasource (database vs AD).
I used ObjectDataSource to pull the data if it's AD.
The problem I have now is that I cannot seem to retrieve the value of column that has the information I need to determine which datasource to use.   The following code sees the first 2 columns and I even tried the .cell(1 to 15) and the value is not in any of them.

Private Sub RadGrid1_DetailTableDataBind(ByVal source As ObjectByVal e As Telerik.Web.UI.GridDetailTableDataBindEventArgs) Handles RadGrid1.DetailTableDataBind 
        Dim dataitem As GridDataItem = e.DetailTableView.ParentItem 
 
If dataitem.Item("the_column_I_need_to_check").Text = "AD" then  'it cannot find this column 
        Me.srcADMember.SelectParameters("role").DefaultValue = dataitem.Item("ADGroup").Text  'It finds ADGroup column 
else 
   'Use different data source 
end if 



Lenny_shp
Top achievements
Rank 2
 answered on 23 Apr 2009
4 answers
112 views

Hi guys,

This problem I'm facing is so weird that I cannot really believe it.

1    Dim intRows As Integer = ds.Tables(0).Rows.Count() 
2    upload.AllowedFileExtensions = New String(intRows) {} 
3    Dim x As Integer 
4    For Each row As DataRow In ds.Tables(0).Rows 
5        'upload.AllowedFileExtensions.SetValue("." & row("FileTypeEnding"), x) 
6        upload.AllowedFileExtensions.SetValue(row("FileTypeEnding"), x) 
7        x += 1 
8    Next 

On my dev machine, running XP and IIS 5, line 6 works as expected.
But not on my server, running Server 2003 and IIS 6. There it's line 5 that works correctly.

Can you believe it?

Regards,
-DJ-
-DJ-
Top achievements
Rank 1
 answered on 23 Apr 2009
4 answers
235 views
I use a datasource to populate my chart.  From a previous post, I discovered how to use the datacolumn name to populate the legend programmatically.  Can you program the legend so that it shows 2 columns.  Ex. category name and category count and turn off all label on graph?
Sue
Top achievements
Rank 1
 answered on 23 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?