Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
202 views
I am using a self-referencing hierarchy with paging (nothing custom, just the built-in mechanisms). When I expand a parent item to show the children, the grid shows the parent's paging template inside it which is something I would rather not have happen. Is it possible to hide this on child records?
Tsvetoslav
Telerik team
 answered on 22 Oct 2009
1 answer
232 views
Any plans for a RadMinifiy Httpmodule to dynamically minify css\js?

Hoping... :)
Ivo
Telerik team
 answered on 22 Oct 2009
1 answer
122 views
I am using the q1 2009 version of tooltip (in VB) to create a user control that opens a tooltip from a javascript function (a dbl click on some text) and then loads a user control into the tooltip. The idea will be to feed the selected text into a database query in the new user control.

Currently this works fine when running in a stand-alone page but when it is added to a master page or template page
when the tooltip opens I get a javascript error: " LENGTH is null or is not an object"
I've tried numerous ideas and have tried to find some relevant references in the forums but have not found a fix that works yet.
What is the best way to avoid this error?

A basic version of the code used for the user control containing the tooltip manager is below:



<

 

script runat="server">

 

 

Protected Sub tooltipupdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs)

 

 

Dim ctrl As Control = New Control

 

ctrl = Page.LoadControl(

"~/controls/usercontrol1.ascx")

 

e.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl)

 

End Sub

 

</

 

script>

 

<

 

div>

 

 

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">

 

 

<script type="text/javascript">

 

 

 

function showToolTip(element)

 

{

 

 

 

var searchString = "";

 

 

if (window.document.selection)

 

{

 

var rng = window.document.selection.createRange();

 

searchString = rng.text;

}

 

else if (window.getSelection)

 

{

searchString = window.getSelection().toString();

}

 

if (searchString)

 

{

 

var tooltipManager = $find("<%= RadToolTipManager1.ClientID %>");

 

 

 

if (!tooltipManager) return;

 

 

 

var tooltip = tooltipManager.getToolTipByElement(element);

 

tooltip = tooltipManager.createToolTip(element);

tooltip.set_value(searchString);

 

element.onmouseover =

null;

 

tooltip.show();

}

}

 

 

 

</script>

 

 

</telerik:RadScriptBlock>

 

 



<
telerik:RadToolTipManager ID="RadToolTipManager1"

 

 

Width="400px"

 

 

height="200px"

 

 

RelativeTo="BrowserWindow"

 

 

Position="Center"

 

 

runat="server"

 

 

Onajaxupdate="tooltipupdate"

 

 

AutoTooltipify="false"

 

 

 

>

 

 

 

</telerik:RadToolTipManager>

 

 

<div runat="server" id="dblclk1" ondblclick="showToolTip(this)" >some text here</div>

 

</

 

div>

 

Svetlina Anati
Telerik team
 answered on 22 Oct 2009
2 answers
219 views
I am trying to deploy the RadEditorMoss 4.5.4 version to a sharepoint farm.  The farm has 2 web front ends with the cenrtral admin on one of the web front ends.

I can successfully add the solution to the farm, but when I try and deploy the solution to my web application I get the following error.

server1 : http://server1:22659/ : SharePoint - 22659 : Error: The copying of this file failed: RadControls/Editor/Localization/en-US/Tools.xml.
This operation uses the SharePoint Administration service (spadmin), which could not be contacted.  If the service is stopped or disabled, start it and try the operation again.
server2 : http://server1:22659/ : SharePoint - 22659 : Error: The copying of this file failed: RadControls/Editor/Skins/Default/Dialogs/ImgExt/asf.gif.
This operation uses the SharePoint Administration service (spadmin), which could not be contacted.  If the service is stopped or disabled, start it and try the operation again.
server2 : This operation uses the SharePoint Administration service (spadmin), which could not be contacted.  If the service is stopped or disabled, start it and try the operation again.
server1 : This operation uses the SharePoint Administration service (spadmin), which could not be contacted.  If the service is stopped or disabled, start it and try the operation again.

I have ensured that the Aministration service is running. And also have it running with an account with admin privilages on both web fronts ends.
I have noticed that it failes when trying to copy different files, but always fails on some file.

Just as a test I have also deployed the full RAD Moss RadEditorMOSS_5_2_3_Trial.  That solution deployed successfully.  There seems to be a problem specifically with this wsp.

Any help would be appreciated.
CaTh
Top achievements
Rank 1
 answered on 22 Oct 2009
1 answer
61 views
From Slider demo with gridview example, I use same.
But retrieve value from query string, use needed datasource properties of gridview.

After changing item 20 to item 50 view, In IE this gap between Header and grid data start point occur And page navigation lost. Pls view in followinig link.
http://i34.tinypic.com/30jhax4.jpg

In FF , it never occur but the filter icon/space can not see.
http://i33.tinypic.com/25fm87n.jpg


Any idea?
thanks

Edit: sorry for the wrong section. Please move to asp.net ajax rad gridview. Apologies.


Dimo
Telerik team
 answered on 22 Oct 2009
3 answers
254 views
Hi,

I have implemented round corners on my chart's background.  For the most part, Its works great - however, for some reason, I have another color (gray) appearing in the corner area, outside the rounded edge.  I can't figure out where or what controls that color.  Any ideas?  I have attached an image of my chart.  Below is the code related to the chart background and rounded corners.

RadChart1.Appearance.FillStyle.FillType = FillType.Solid;
RadChart1.Appearance.FillStyle.MainColor = Color.FromArgb(229, 229, 229);
RadChart1.Appearance.Border.Color = Color.FromArgb(0, 0, 0);

RadChart1.Appearance.Corners.BottomLeft = CornerType.Round;
RadChart1.Appearance.Corners.BottomRight = CornerType.Round;
RadChart1.Appearance.Corners.TopLeft = CornerType.Round;
RadChart1.Appearance.Corners.TopRight = CornerType.Round;
RadChart1.Appearance.Corners.RoundSize = 20;

Thanks,

Jeff
Ves
Telerik team
 answered on 22 Oct 2009
1 answer
70 views
Hello world,
I am working with editor version 4.5.6.0.
When (accidently) selecting a whole paragraph and converting the selection into a hyperlink using the hyperlink manager, the resulting 'a'-tag contains the 'p'-tag. This results in non-functioning hyperlinks in some browsers and conflicts with the specification of (x)html. The same applies for headings ('h1'-'h6'-tags). Is there a way to prevent the editor generating constructs like "<a><p>some text</p></a>"?
BR,
- Mirko -
Stanimir
Telerik team
 answered on 22 Oct 2009
14 answers
402 views

Hi,

I have a strange problem. I am not able to deploy the RadEditor for MOSS on the production server. Error: Cannot add the specified assembly to the global assembly cache: [Rad***.Net2.dll].

I tried all the options to install the solution RadEditorMoss.wsp. But, No luck. Also, I didn't find much help on the FAQs or in forums. I would appreciate, if anyone help me to resolve the problem.

Regards,
Phani Madhav

Stanimir
Telerik team
 answered on 22 Oct 2009
9 answers
262 views
Hi,
I am getting following error

Microsoft JScript runtime error: 'null' is null or not an object

in rad input manager

it fails on var ids=com.get_targetControlIDs();  while debugging


get_regExpTextBoxSettings:

function(){

 

 

return

this.get_inputSettings(Telerik.Web.UI.RadRegExpTextBoxComponent);

 

},get_textBoxSettings:

 

function(){

 

 

return

this.get_inputSettings(Telerik.Web.UI.RadTextBoxComponent);

 

},get_numericTextBoxSettings:

 

function(){

 

 

return

this.get_inputSettings(Telerik.Web.UI.RadNumericTextBoxComponent);

 

},get_dateInputSettings:

 

function(){

 

 

return

this.get_inputSettings(Telerik.Web.UI.RadDateInputComponent);

 

},_onSubmit:

 

function(){

 

 

var

i;

 

 

for

(i in this._getSettings()){

 

 

this

._beforeSubmit(this._getSettings()[i]);

 

}

},_beforeSubmit:

 

function(com){

 

 

var

ids=com.get_targetControlIDs();

 

 

for

(i=0;i<ids.length;i++){

 

com.get_targetInput(ids[i])._beforeSubmit();

}

 


My  ascx page code looks like

 

<asp:TextBox ID="txtQty" runat="server" Height="20px" ></asp:TextBox>

 

 

 

<telerik:RadInputManager ID="RadInputManager1" runat="server" Skin="Vista">

 

 

 

<telerik:RegExpTextBoxSetting BehaviorID="RagExpBehavior1"

 

 

 

ValidationExpression="^\d+$" ErrorMessage="Invalid Quantity">

 

 

 

<TargetControls >

 

 

 

<telerik:TargetInput ControlID="txtQty" />

 

 

 

</TargetControls>

 

 

 

</telerik:RegExpTextBoxSetting>

 

 

 

</telerik:RadInputManager>

 

 



Please let me know what i am missing here ASP.

Thanks.
Eva



Pavel
Telerik team
 answered on 22 Oct 2009
5 answers
391 views
Hi,

I use in place edits for a rad grid using the code as in this location:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultcs.aspx

Although, I do not use an object source to populate the grid, everything works fine, except that the row stays in edit mode even after the grid update event has fired.  Is there any way I can set the double clicked row out of edit mode after the Update event?

Thanks.

Suresh
Princy
Top achievements
Rank 2
 answered on 22 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?