Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
71 views
Here is my code:

                    Dim PBItem1 As New Telerik.Web.UI.RadPanelItem 
                    PBItem1.Text = result.blm_title.ToString 
                    PBItem1.ToolTip = result.blm_subtitle.ToString 
                    PBItem1.CssClass = "Black9b" 
                    PBItem1.NavigateUrl = "~/crBlogMaster.aspx?id=" + result.blm_id.ToString 
 
                    RadPanelBar1.Items(1).Items.Add(PBItem1) 

The class "Black9b" is part of my Theme associated with the aspx page and it is not getting assigned to the PanelBar item.
Paul
Telerik team
 answered on 07 Oct 2009
2 answers
107 views
Hi,

Sometimes we are getting a HTTPHandler error for the radProgressarea.Below is the sample of the error message

RadUpload Ajax callback error

Teelrik.raduploadProgresshandler.ashx?radurid=988328323
Did You register the radUploadprogresshandler in the web.config file?

Actually we have registered the same in the web.config already.Any idea whatr would be the cause for this issue.
This occurs rarely.

Web.config content:
--------------------------------

<

 

httpHandlers>

 

<

 

add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI"/>

 

</

 

httpHandlers>

 

<

 

httpModules>

 

<

 

add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>

 

</

 

httpModules>

 

<

 

httpRuntime maxRequestLength="1228800" />

 



Thanks and Regards
V.Balamurali
Balamurali Venkatesan
Top achievements
Rank 1
 answered on 07 Oct 2009
2 answers
140 views
Hello,

I have a Grid with MasterTable and DetailTable and I create all columns on code behind.
At first, I delete all existing Columns and add all needed columns.

My fist column shoud be the ExpandCollapse-column. Here the c# code:

 

GridExpandColumn oEC = new GridExpandColumn();  
oEC.ButtonType = GridExpandColumnType.SpriteButton;  
oEC.CommandName = "ExpandCollapse";  
oEC.UniqueName = "ExpandCollapse";  
oEC.ItemStyle.Width = Unit.Pixel(20);  
oEC.HeaderStyle.Width = Unit.Pixel(20);  
oEC.FooterStyle.Width = Unit.Pixel(20);  
oEC.Display = true;  
oEC.Visible = true;  
this.RadGridDistribution.Columns.Add(oEC);  
 


My problem is, I get no bostback by clicking.

I hope, anybody can give me a tip.

Detlef!

 

 

 

 

FLIDEV
Top achievements
Rank 2
 answered on 07 Oct 2009
2 answers
119 views

This option, employed on the telerik forum pages used to have the option to "include line numbers".

It's gone.

Can we have it back please?

-- 

Stuart

Stuart Hemming
Top achievements
Rank 2
 answered on 07 Oct 2009
2 answers
121 views
Hello,

I have an treeview with chekcboxes and tristatecheckboxes ist true. Is it possible to get the intermediate state of an parent node? The node is in the CheckedNodes-collection, but I can't find any property to differ the state.

I hope, anybody can help me.

Detlef!
FLIDEV
Top achievements
Rank 2
 answered on 07 Oct 2009
17 answers
297 views
I have 2 grids that I'm able to drop rows between. My issue is that when dragging from one to the other, the record has to be dropped on top of an existing record and not in the open area underneath of it (between the existing records and the footer). If I drop into that "open area", the RowDrop event never fires and the move never takes place.

When there are no records in the grid to be dropped into, I have a "NoRecordsTemplate" and a drop occurs without any issues.

Is there a way to make this open area between the last record and the footer a "droppable" area? Do I have to display an image there of some sort (to mock the Recycle Bin functionality in the sample)? If so, how would I do that? Is there javascript somewhere that is cancelling this drop so that the AJAX RowDrop event is never firing?

Note, the drag/drop sample has the same issue.

Thanks!
Doug Beard
Top achievements
Rank 1
 answered on 07 Oct 2009
1 answer
150 views
I currently have a usercontrol that is loaded into my tooltip. The UC needs to have our product rating script on it that comes from power reviews. This is an inline JS thats placed in the code where we want the rating stars to appear.
<asp:Literal ID="ltrCustomerReviewSnippet" runat="server" Visible="false"
  <div class="pr_snippet_category" > 
    <span id="pr_snippet_headertxt" class="bv-light-grey">Product Rating</span> 
    <script type="text/javascript"
       var pr_snippet_min_reviews=0; POWERREVIEWS.display.snippet(document, { pr_page_id : "PAGE_ID" });  
    </script> 
  </div> 
</asp:Literal> 

I know there are issues with JS running with Ajax, as per this thread, but I can't understand how to use RegisterStartupScripts or anything else of that sort to perform inline JS such as this. Can anyone explain this, maybe with some code snippets?

Thx!
Tsvetie
Telerik team
 answered on 07 Oct 2009
3 answers
294 views
I created a simple 1 page web that uses the radwindowmanager and the radOpen call. I have place this in a javascript function as shown in examples applications. I can not get the page to compile in order to test this. Any suggestions as to why is will not compile?

This is my aspx code:

<%

@ Page Language="vb" AutoEventWireup="false" CodeBehind="Telerik.aspx.vb" Inherits="WebApplication1.Telerik" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<!

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

html xmlns="http://www.w3.org/1999/xhtml" >

 

<

 

head runat="server">

 

 

<title>WebForm1</title>

 

 

<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1"/>

 

 

<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1"/>

 

 

<meta name="vs_defaultClientScript" content="JavaScript"/>

 

 

<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"/>

 

 

<script type="text/javascript" language="javascript">

 

 

function openRadWin() {

 

radopen(

"http://www.microsoft.com", "RadWindow1");

 

}

 

</script>

 

</

 

head>

 

<

 

body ms_positioning="GridLayout">

 

 

<form id="Form1" method="post" runat="server">

 

 

<telerik:RadScriptManager ID="ScriptManager" runat="server"></telerik:RadScriptManager>

 

 

<telerik:RadWindowManager ID="RadWindowManager1" runat="server">

 

 

<Windows>

 

 

<telerik:RadWindow ID="RadWindow1" runat="server" Behavior="Maximize"></telerik:RadWindow>

 

 

</Windows>

 

 

</telerik:RadWindowManager>

 

 

<asp:Button ID="btn" runat="server" OnClick="openRadWin()" Text="test" />

 

 

</form>

 

</

 

body>

 

</

 

html>

This is the compiler error description:

 

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30456: 'openRadWin' is not a member of 'ASP.telerik_aspx'.

Source Error:

Line 26:     </Windows>
Line 27:     </telerik:RadWindowManager>
Line 28: <asp:Button ID="btn" runat="server" OnClick="openRadWin()" Text="test" />Line 29:     </form>
Line 30: </body>

Source File: C:\inetpub\wwwroot\WebApplication1\Telerik.aspx    Line: 28


 


c:\windows\system32\inetsrv> "c:\Windows\Microsoft.NET\Framework\v3.5\vbc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webapplication1\12e8b908\160a3c8c\App_global.asax.sebioeuu.dll" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\Telerik.Reporting\3.1.9.807__a9d7983dfcc261be\Telerik.Reporting.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webapplication1\12e8b908\160a3c8c\assembly\dl3\7cc3adc9\008d8bdb_d825ca01\Telerik.Web.UI.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webapplication1\12e8b908\160a3c8c\assembly\dl3\05c6249e\a66de186_bf46ca01\WebApplication1.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing.Design\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_MSIL\Telerik.ReportViewer.WebForms\3.1.9.807__a9d7983dfcc261be\Telerik.ReportViewer.WebForms.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webapplication1\12e8b908\160a3c8c\App_Web_zyabhy9q.dll" /D:DEBUG=1 /debug+ /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls /warnaserror- /optionInfer+  "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webapplication1\12e8b908\160a3c8c\App_Web_zyabhy9q.0.vb" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webapplication1\12e8b908\160a3c8c\App_Web_zyabhy9q.1.vb"


Microsoft (R) Visual Basic Compiler version 9.0.30729.1
Copyright (c) Microsoft Corporation.  All rights reserved.

C:\inetpub\wwwroot\WebApplication1\Telerik.aspx(25) : warning BC40000: 'Public Property Behavior() As Telerik.Web.UI.WindowBehaviors' is obsolete: 'This property is obsolete. Please use Behaviors instead.'.

            __ctrl.Behavior = Telerik.Web.UI.WindowBehaviors.Maximize
            ~~~~~~~~~~~~~~~                                          
C:\inetpub\wwwroot\WebApplication1\Telerik.aspx(28) : error BC30456: 'openRadWin' is not a member of 'ASP.telerik_aspx'.

            AddHandler __ctrl.Click, AddressOf Me.openRadWin()
                                               ~~~~~~~~~~~~~  
C:\inetpub\wwwroot\WebApplication1\Telerik.aspx(28) : error BC30456: 'openRadWin' is not a member of 'ASP.telerik_aspx'.

            RemoveHandler __ctrl.Click, AddressOf Me.openRadWin()
                                                  ~~~~~~~~~~~~~  

dhuss
Top achievements
Rank 1
 answered on 07 Oct 2009
1 answer
78 views
Hello,

I've looked through the existing threads and couldn't find an answer to my question.

I've got a page with a number of fields (textarea, input text, rad editor). At the bottom of the page I have placed the rad spell control to spellcheck all the fields above. It does it - no complains. The only issue I have come across here is that when I have got about 10 fields on the page its really hard to understand which of them is being checked at the moment.
Is there any way to move the focus from one field to another while doing the spell check? Or any other suggestion?

Thank you

Dima
Rumen
Telerik team
 answered on 07 Oct 2009
1 answer
88 views
I am loading user controls dynamically when user clicks on each tab.
Button click event in the user control seems not to be firing. any idea?
Paul
Telerik team
 answered on 07 Oct 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?