Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
143 views

heya.. trying to determine how to use a radcofirm popup to confirm deletion of a record from a formview.
this works fine as a standard confirm...

  •  OnClientClick="return confirm('Are you certain you want to delete this?'); "

this does not

  • OnClick="radconfirm('Are you sure?');">

return the following error: 
'radconfirm' is not a member of 'ASP.ctrls_ctrlName_ascx'.

I have used the following as a guideline http://www.telerik.com/demos/aspnet/prometheus/Window/Examples/BrowserDialogBoxes/DefaultCS.aspx

My sloppy code:
(note that the sample buttons at the bottom work fine in my page) 

    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete" 
            Text="Delete"  OnClick="radconfirm('Are you sure?'); return false;"></asp:LinkButton> 
        
        <asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" CommandName="New" 
            Text="New">  
        </asp:LinkButton> 
    </ItemTemplate> 
</asp:FormView> 
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Sunset">  
</telerik:RadWindowManager> 
&nbsp;  
 
                        <button style="width: 150px; margin-bottom: 3px;"  onclick = "radconfirm('Are you sure?');" class="button">show CONFIRM BOX</button><br/>  
 
thoughts are appreciated.

mac
Top achievements
Rank 1
 answered on 19 Aug 2008
1 answer
162 views
How can I always have the sort images showing whether or not the column has been sorted?

thx
Dimo
Telerik team
 answered on 19 Aug 2008
3 answers
272 views
I'm tring to implement a custom FileBrowserContentProvider, but i have a few questions.

Why does "selectedUrl" and "selectedItemTag" never differ? Even though I set "fullPath" and "tag" different when i create DirectoryItems. I would like the fullPath to be viewed to the user, but the tag do be an ID for my internal representation.

Also, you should point out more in the documentation that you shall look up "selectedItemTag" and not "path", when ResolveRootDirectoryAsTree(string path) is exectued. (which indeed is very non-logic too)

greetings /Carl
Shaun Peet
Top achievements
Rank 2
 answered on 19 Aug 2008
3 answers
247 views
We have used Rad.Controls 2007 Q1 for our website. We recently have plan to upgrade our Rad.Controls to the current version (2008 Q2 I believe) to get more features.

However, we don't want to re-write everything that already in our pages. Can the old version and newer version of Rad.Controls be used on same page without any conflict? (As I understand, the older version & newer version has different TagPrefix, so they should work together?)

And what's the price for upgrade? Or can I upgrade just few controls instead of whole package?

Thanks

Darren L.

Darren
Top achievements
Rank 1
 answered on 19 Aug 2008
2 answers
132 views
In my Site, some pages report script error:
 
Sys.WebForms.PageRequestManager undefined.

Other page is ok,no error.

In these pages with error,  used master page,  kicked my scritp.
Ether i use Ajaxpanel or Ajaxmanager, the error always here.
I try move the AjaxControl to any level, the erroe always here.

I  read out zhe AjaxScript   "<script src="/SBB/WebResource.axd?................"
and write into my page like <script src="/sbb/ascp.js" type="text/javascript" ></script>
The error become to :
Sys.ArgumentTypeException: Object od type 'Sys._Application' cannot be converted to type 'Sys._Application'.
Parameter name: instance


So, i need help.

My English is so poor. Don't fun me, please. Thanks.
Oh , this error happened in our 3 coder. we edition is  2008Q1 515.
BLADE
Top achievements
Rank 1
 answered on 19 Aug 2008
2 answers
99 views
Hi

I have a doubt, is possible to change the Tab View text?, 

for example :
if Tab View text  is Week to Semana in spanish, this is possible?


Thank you for your attention
Greetings

Ruben Herrera.
Ruben
Top achievements
Rank 1
 answered on 19 Aug 2008
6 answers
185 views
The editor seems to want to leave the space where the toolbar will go when first loaded.  Example 1   I can tell its basing it on the size of the tools file because I can add and remove toolbars and the area will grow or shrink based on that toolsfile elements.

It goes away as soon as the toolbar is activated, but it puts the toolbar over the editor text.  Example 2

The toolbar editmode is set to ShowOnFocus.

What is going on?

George
Telerik team
 answered on 19 Aug 2008
1 answer
123 views
Hello,

I'm using the Tabstrip with a sitemap as a datasource.  I would like to only show the top level pages on the tabstrip, which is simple if I did the MaxDataBindDepth = 1.  However, I have sort of a problem when doing that.

Let's use your example:
 <?xml version="1.0" encoding"utf-8" ?> 
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > 
<siteMapNode url="http://www.telerik.com" title="Telerik" description="Telerik home page"
<siteMapNode url="http://www.telerik.com/radcontrols" title="Telerik RadControls for ASP.NET" description ="Telerik RadControls for ASP.NET" > 
<siteMapNode url="http://www.telerik.com/radeditor" title="Telerik RadEditor" description="Telerik RadEditor control"/> 
</siteMapNode> 
<siteMapNode url="http://www.telerik.com/radnavigation" title="Telerik RadNavigation controls" description ="Telerik RadNavigation controls" /> 
</siteMapNode> 
</siteMap>  

What I want to happen is only show the Top Level Tabs, such as "Telerik RadControls for ASP.NET" and "Telerik RadNavigation controls".

But here is the problem...I want to still show that "Telerik RadControls for ASP.NET" is still highlighted when the person goes to the "Telerik RadEditor" (which is a child page).  If I set the MaxDataBindDepth = 1 I'm not getting that to work (and I probably know why).

Is there an easy way to eliminate all the children, while also using the sitemap to know what top level tab you are in?

Thanks
Mark Rowe
Top achievements
Rank 1
 answered on 19 Aug 2008
2 answers
85 views
Hi

When i set the properties like width or height in the rad calendar with the skin Web 20, then control does not take the values assigned.

Please need help ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡

Thank you for your attention
Greetings

Atte. Ruben Herrera.

siders86
Top achievements
Rank 1
 answered on 19 Aug 2008
8 answers
107 views
I've got a web page with pretty much no code behind.

It has a radcombo box populated via sqldatasource. It is on autopostback.
It has a grid populated via sqldatasource using the radcombo box selected value.
There is an ajax manager:
  RadComboBox -> Grid
  Grid -> Grid

The combox box works great - I select an item and the grid refreshes showing the correct data, all ajaxed.

However paging does not work.  If I click on a page #, the loading messages shows up in the statusbar of the grid and the page does not move.

This seems like a pretty basic setup to me. 

Thanks,
Nick H

Nick
Top achievements
Rank 2
 answered on 19 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?