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

I am trying (somewhat unsuccessfully) to replicate Context Menu functionality from the ASP.NET version.

Delete
In the older version, it was possible to prompt the user in Javascript before deleting a node and cancel the request:

if (itemText == "Delete")
{        
    return confirm("Are you sure?");
} 

In the Prometheus version, I can ask the question, but the node is deleted irrespective of the answer.

Rename
Although I can edit the Node using F2, I would also like to have a 'Rename' option on a Context Menu. In the ASP.NET version, this was easily accomplished:

if (itemText == "Rename")
   {     
      node.StartEdit();
   }

With Prometheus controls, similar code puts the node briefly into edit mode, but then returns to normal almost immediately

Can you let me know how I can get round these problems?

Cheers

paul

Dimitar Milushev
Telerik team
 answered on 07 Feb 2008
0 answers
97 views
Relative and absolute positioning is working on my webpage, put not in the Visual Studio 2005 designer. So I can just guess the position for radcombobxes (e.g. radtextboxes work). The comboboxes are shown only as gray boxes, but not as normal combobxes. I think this has something to do with the problem. The gray boxes appear since I updates to a newer version of the prometheus controls. How can I restore the view of comboboxes so that is possible to make relative and absolute positioning at design time. It doesn't work also not if I create a new project.
Markus
Top achievements
Rank 1
 asked on 07 Feb 2008
1 answer
177 views

Hello,

I currently have a web app being developed in 32 bit and I am trying to get it installed and working in a 64 bit environment. This is .Net2. Telerik RadControls Q2 2007 SP1.

Multiple Rad control are used, including the RadComboBox, the RadMenu, RadTabStrip and RadPanelbar.

When deploying to another 32 bit system the webapp works fine, however, when applying to 64 bit system the Rad controls do no load correctly.

I have tried using the later version of Rad Controls (Q3 2007 SP1) but get the same results.

Is there something specific which needs to be done to have the Rad Controls working on 64 bit, or a different version of the controls then the ones I have?

Any help would be much appreciated.

- Sandeep
Paul
Telerik team
 answered on 07 Feb 2008
3 answers
429 views

When I run the code, it displays item.value = Undefined and item.text = Undefined.
How do I get the value and text from radcombobox?

<
script type="text/javascript">

function

templateimageselected(item) {

alert(item.value +

" " + item.text);

}

</script>

<

telerik:RadComboBox id="rcbTemplateImg" runat="server"

Width="100px" Height="115px"

Skin="Vista" DataValueField="TemplateID" DataTextField="TemplateName"

MarkFirstMatch="false" HighlightTemplatedItems="True"

ShowToggleImage="True" AllowCustomText="false"

EnableLoadOnDemand="True"

OnClientSelectedIndexChanging="templateimageselected">

<ItemTemplate>

<table style="width: 375px" class="comboTable" cellspacing="0" cellpadding="0">

<tr>

<td style="width: 125px;" class="comboItemCell">

<div class="comboItem">

<img src='<%# DataBinder.Eval(Container.DataItem, "ThumbnailPath")%>' alt='<%# DataBinder.Eval(Container.DataItem, "TemplateName")%>'/>

<%

# DataBinder.Eval(Container.DataItem, "TemplateName")%>

</div>

</td>

</tr>

</table>

</ItemTemplate>

<CollapseAnimation Duration="200" Type="OutQuint" />

<ExpandAnimation Type="OutQuart" />

</telerik:RadComboBox>

Nikolay
Telerik team
 answered on 07 Feb 2008
1 answer
132 views
I have a child of a master page. The master page has a RadAjaxManager. The child page has a RadAjaxManagerProxy.

I have a client side javascript function within a RadCodeBlock:

function AjaxRequestButton(arguments)

{

var ajaxManager = $find(<%= RadAjaxManagerProxy1.ClientID %>);

ajaxManager.AjaxRequestWithTarget(

'<%= Button1.UniqueID %>', '');

}

However calling this function generates a runtime error:
'ctl00_toolbarContent_RadAjaxManagerProxy1' is undefined

I've tried moving the proxy to other contect areas of the child page but to no avail. It seems that the javascript function can't  locate the proxy.

Any ideas?

Leon
Top achievements
Rank 1
 answered on 07 Feb 2008
1 answer
160 views
Hi,

My collegues have used telerik datagrid controls in ASP.net application and looks very cool.

I am researching on how i can integrate datagrid into MOSS 2007 web parts for my new project. I need to connect to the SQL database through webpart.

I have not found any information (white paper etc) on how i can intergrate and connect to SQL database from the datagrid through MOSS 2007 web parts and how much effort needed? There is some information for deploying to aspx page but not through web part.

Thank you for your help.

Tai
Sebastian
Telerik team
 answered on 07 Feb 2008
5 answers
337 views
Hello colleagues,

I have a RadAjaxManager on my form and several (3 at the moment) RadGrids. When a row of any of the grids is clicked it needs to make an ajax call to update several parts of the page.

The way I have been achieving this (up until now, when I've had a single grid) is to utilise the OnRowClick client-side event of RadGrid and call a js function that triggers RadAjaxManager's 'AjaxRequest' event, triggering a call to server-side code.

The problem I have is that if I call this method, how will I know which grid was selected? The 'sender' argument appears to be the RadAjaxManager itself and not a reference to the appropriate grid.

Any ideas? Or do I need an ajaxmanager for each grid?

Cheers,
Daron
Sebastian
Telerik team
 answered on 07 Feb 2008
2 answers
194 views

I am able to create a web page with the RadAjaxManager using the settings to set the specific control to cause the post and the control to receive the results, and it works as expected.

But if I add a JavaScript reference into the body as below, instead of responding to the Ajax request/response, it seems like the page performs a full refresh (you can see the flash). If I add the reference into the header, I receive all kinds of errors in the Resource Scripts.

What is the appropriate method for adding the JavaScript reference so that it works?

<script language="javascript" type="text/javascript" src="Scripts/EventHandlers.js" />

Vlad
Telerik team
 answered on 07 Feb 2008
1 answer
90 views
I have my website setup with a Master Page with 2 content areas...one for the page title and the other for the main content of the page. Each child page specifies the Page Title...so I can change the title based on whatever page I'm on. Pretty standard stuff right?

Well here's the weird thing. I have a RadGrid on my page and when I load it up, everything is fine. But as soon as I click on the Edit button on an item, my Page Title changes to Untitled.

Any clue why this might be happening? Thanks.
Konstantin Petkov
Telerik team
 answered on 07 Feb 2008
3 answers
425 views
Will this be available sometime in the future? Currently i have to make assumptions about the name of the RadAjaxManager that will be on the page for it to work...

Thanks
Konstantin Petkov
Telerik team
 answered on 07 Feb 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?