Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
171 views
Hi,
We have a page with RadDock that contains custom DockCommands. The custom commands are created dynamically on server-side.
Works great. That is, with Q2.

Today I realized that images are not rendered for the custom commands in Q3. Instead, it shows the default expand/collapse arrow (see attached image). Otherwise, the commands work well.
The html generated for Q2 looks like that:
<span class="rdCommands"
  <class="rdCollapse" title="Collapse"></a> 
  <class="dockCommandDelete" title="Poista"></a> 
  <class="dockCommandEdit" title="Muokkaa"></a> 
</span> 
 

and the html for Q3
<ul class="rdCommands"
  <li><a title="Muokkaa"><span class="dockCommandEdit">&nbsp;</span></a></li> 
  <li><a title="Poista"><span class="dockCommandDelete">&nbsp;</span></a></li> 
  <li><a title="Collapse"><span class="rdCollapse">&nbsp;</span></a></li> 
</ul> 

The custom images are in the css class (a.dockCommandEdit, a.dockCommandDelete) and the hover images are in the respective hover classes.

The documentation for RadDock mentions only changes in custom RadDock skins that are not backward compatible.
Is that a known issue?

eyal
eyal
Top achievements
Rank 1
 answered on 17 Nov 2009
6 answers
162 views
Hello, I'm getting the above error "Object does not support property or method"  whenever i try to navigate away from a page using one of your controls.  I've checked the forums and i've tried removing my form decorator, and I'm running IE7.  One of the posts mentioned a problem with IE8 in an old version.  I'm currently runing the latest version( i downloaded it a week ago i think).  The error only shows when i have Disbable Script Debugging (internet Explorer) and (other) off.  When i go into the debugger session via th error message it loads a file with a rather long name but starts, Telerik.Web.UI.WebResource.asxd? then a bunch of stuff after that which contains the clientId of the scriptManager which is in my master page.  and something about a hidden field.   The code stops on 

return

 

document.getElementById(f) that line  f is set to "modalDivId_ctl00_cphBody_dgListData"  i assume its a reference to the modal edit popup i use on that grid (dgLists).  the above line is in a function that starts 

 

$get=Sys.UI.DomElement.getElementById=

function(f,e){If(!e) *error line goes here* and then the function continues for a while.

the commetns at the top of thie file say this section is MicrosoftAjax.js.  The error happens when i try to navigate away, it doesnt seem to happen on a async postback, and only seems to happen when the page loads from a full postback.  I've also tried removing the modal box from the grid, before the error mentioned a radComboBox, when i removed that control it started having the grid as the value of f.   Naturally i can turn off script debugging and not see it, but i cant ensure that my users do the same.  Any help or suggestions would be appreciated.

John

 

Georgi Tunev
Telerik team
 answered on 17 Nov 2009
3 answers
130 views
Firstly - this isn't a Telerik problem, its me. Although the problem has come about when using the RadAjax to ajaxify my page.
 
What I don't understand is what I'm doing wrong, as some pages work OK and others dont.
 
My question is what is best practice for including client side javascript when using AJAX.
 
I have a master page, and include my javascript in normal

<

 

script type="text/javascript"> </Script> tags, so not sure if this is correct.

I have tried using RadAjax Manager, but now only have a RadAjaxPanel around the whole code section, just inside the content area:

<

 

asp:Content ID="Data" ContentPlaceHolderID="cph_Main" Runat="Server">

 

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" 
And the behaviour is the same.

My page has a dropdown of categories, which updates the grid. The Grid in turn is nested and has a list of areas and items in those areas.

The category updates the grid OK, and each section of the grid works fine, except when I try to add or edit grid items I get an error along the lines of:

Error:Sys.ScriptLoadFailedException: The script'Expert/ScriptResource.axd:.......

What I cant figure out is why, I have another page with a treeview populating a tabview which in turn populates a nested grid, and this works fine.

Any help would be appreciated.

Pavlina
Telerik team
 answered on 17 Nov 2009
1 answer
98 views

Hello,

We upgraded in Q1 to take advantage of the new skinning technique and use the Stye Builder when it was released.  I'm working with a skin that was created from WebBlue in Q12009 and I'm finding styles names in this version that are named differently in the current version.  I thought one of the reasons for recreating the skins starting with Q12009 was to avoid dealing with differnt style names between skins.  If the style names change between versions it causes a similar problem.

Here is an example take from the WebBlue skin:

Q1 looks like:

/* Headings 4-6 */

.RadForm_WebBlue h4.rfdH4
{
 color: #000000; 
 border-bottom: solid 1px #a0a0a0; 
}

Q3 looks like:


/* Decorate <h4|5|6 /> */
.RadForm_WebBlue.rfdHeading h4
{
 color: #000000; 
 border-bottom: solid 1px #a0a0a0;
}


Why are there differences in the style sheets now?  Most importantly are there other differences and can anyone provide a list of those styles which have changed names and need to be updated in my Q1 skin to be compatible with the Style Builder?

If I change the style names in the style sheet they won't work correctly with our version of the RadTools, what is the work-around for that?

Thanks,
Bob

Georgi Tunev
Telerik team
 answered on 17 Nov 2009
1 answer
95 views
Hi,

How can i make the first column as a hyperlink, without using the columnname.

Column position is same, But name will different.

In First procedure returns columns names

eg: [test1],[testname],...........


In Second procedure returns columns names

eg: [test2],[testname],...........


In Second procedure returns columns names

eg: [test3],[testname],...........


I had one GridView only.

how can i make the first column as a Hyper-link
Princy
Top achievements
Rank 2
 answered on 17 Nov 2009
1 answer
279 views


Hi,

 I have hyperlink in column in the RadGrid. When i export the grid to PDF. I could see the hyperlinks even in PDF also.
 When i click on link in PDF then it's giving some script error.

 My requirement is how to avoid/remove hyperlinks in PDF.


Regards,
Satya.

Princy
Top achievements
Rank 2
 answered on 17 Nov 2009
1 answer
203 views
Hi,

I need to read 'date,time  and content' of the selected appointment in the scheduler using context menu.

Because i have to pass that 'date,time and content' as a Querystring to another page in application.

Please give any suggestion to get it.

Thanks in Advance.

Regards
Feroz ;-)


Shinu
Top achievements
Rank 2
 answered on 17 Nov 2009
2 answers
112 views
Hi, i want to reproduce this example
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectrowwithcheckbox/defaultcs.aspx

But the fact is that the checkboxes states is reinitialized after page navigation.

I want a Grid with page navigation and persistant checboxe state (server side)
and i want to get the list of all the line's label where there is a checked checkbox, once a submit button is clicked.

Do you know if it's possible ?




Princy
Top achievements
Rank 2
 answered on 17 Nov 2009
3 answers
190 views

Hi,

I would like to display an icon next to group by column name with in grid with grouping feature.

Request you to please suggest.

Thanks and regards,

Manish Patel

Sebastian
Telerik team
 answered on 17 Nov 2009
3 answers
151 views
Hi,

I am using RadGrid with Grouping feature. Also, at the bottom i have Pagesize Change option with textbox.

Now, Is it possible for me to have combo box in place of pagesie change text box ?

I would like to restrict user to certain pagesizes only like 5,10,15,20 and no other cusotm text. Or is there any way by which i can restrict user to enter less than some numer for pagesize lets say 20?

Request you to please suggest.

Thanks and regards,
Manish Patel


Sebastian
Telerik team
 answered on 17 Nov 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?