Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
103 views
Never mind, I found the answer
sean
Top achievements
Rank 1
 asked on 22 Aug 2008
2 answers
98 views
I have an exisiting site. How can I replace the out-of-box sharepoint html editor with the RAD Content Editor?
Do I need to re-enter all content?
sean
Top achievements
Rank 1
 answered on 22 Aug 2008
2 answers
231 views
Hi,

I'm looking to use the RADRotator as an image gallery, similar to your example.  However in my scenario I am not in control of the number of images displayed in the gallery as they are supplied by the user.  This can result in the width of the rotator being wider than the number of pictures.  In this case the control just rotates what images it has but it doesn't look like they are scrolling.  You can see the effect by reducing the number of images in your live image gallery example to say 2.

Can this feature be resolved so that the few images look to scroll across/down the width/height of the rotator region?

Thanks,

Jeff
burn
Top achievements
Rank 2
 answered on 22 Aug 2008
6 answers
522 views
I need to pop up a context menu when the user right clicks in a text box. How can I make that happen? The reason I need to do this is to provide the user a mechanism how they can select pre-formated words to fill the text box.

Thanks!
vithiya
Vithiya
Top achievements
Rank 1
 answered on 22 Aug 2008
5 answers
176 views
I have almost got this implemented.  The samples with the country drop down list did not give a complete class for myCustomFilteringColumn, but I found it in other posts .  It successfully changes the control to a drop down list and fills it with data, but it requeries every time I run it.

Can this class be hooked to a sqldatasource in the main .aspx page ?

Or Any any idea how I would pass parameters to it so I can re-use the class ?

I have several different grids I want to add drop down filters to for "status" fields with limited choices and as this stands I would have to copy the class multiple times.





Daniel
Telerik team
 answered on 22 Aug 2008
1 answer
66 views
I down loaded the latest skin files for RadControls for ASP.NET AJAX  2008.2 723 from http://www.telerik.com/support/product-skins-downloads.aspx
. The pages says that the doenloads contain all resources (Images, CSS and Photo shop source). However, the zips seem to only contain PSD files.

Where de I get the Images and CSS for the skins?

Thanks in advance,

K.E.
Paul
Telerik team
 answered on 22 Aug 2008
1 answer
106 views
Hi,

I need to show a context menu in a tree view when I drag and drop nodes in a tree view. On drop, the context menu should be displayed giving the user a few options as to what he wants to do with the dropped nodes. Depending upon the chosen options, the drop action should be handled.

I have the following code where I am able to display the context menu, but, it immediately disappears - even though cancelRawEvent has been called.
$telerik.cancelRawEvent(e);
Following is the code for the aspx page:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="HarborSales.Portal.Modules.Tree.Default" %> 
 
<%@ 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>Tree drop node context menu</title> 
  <telerik:RadScriptBlock runat="server" ID="radScriptBlock"
 
    <script type="text/javascript"
      function showContextMenu(e) 
      { 
        // alert("Dropping"); 
        var contextMenu = $find("<%= RadContextMenu1.ClientID %>"); 
        
        if ((!e.relatedTarget) || (!$telerik.isDescendantOrSelf(contextMenu.get_element(), e.relatedTarget))) 
        { 
            contextMenu.show(e); 
        } 
 
        return $telerik.cancelRawEvent(e); 
      } 
 
      function ClientNodeDropping(sender, eventArgs) 
      { 
        showContextMenu(eventArgs.get_domEvent()); 
      } 
 
      function ClientNodeDropped(sender, eventArgs) 
      { 
        // alert("Dropped"); 
      } 
       
    </script> 
 
  </telerik:RadScriptBlock> 
</head> 
 
<body> 
  <form id="form1" runat="server"
    <asp:ScriptManager ID="ScriptManager1" runat="server"
    </asp:ScriptManager> 
    <div> 
      <telerik:RadTreeView ID="RadTreeView1" runat="server" EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True" Skin="Vista" OnClientNodeDropping="ClientNodeDropping" OnClientNodeDropped="ClientNodeDropped"
        <Nodes> 
          <telerik:RadTreeNode runat="server" Checkable="False" Text="Condos"
          </telerik:RadTreeNode> 
          <telerik:RadTreeNode runat="server" Checkable="False" Text="TownHomes"
          </telerik:RadTreeNode> 
          <telerik:RadTreeNode runat="server" Checkable="False" Text="Houses"
            <Nodes> 
              <telerik:RadTreeNode runat="server" Checkable="False" Text="House 1"
              </telerik:RadTreeNode> 
              <telerik:RadTreeNode runat="server" Checkable="False" Text="House 2"
              </telerik:RadTreeNode> 
            </Nodes> 
          </telerik:RadTreeNode> 
        </Nodes> 
        <CollapseAnimation Type="OutQuint" Duration="100"></CollapseAnimation> 
        <ExpandAnimation Duration="100"></ExpandAnimation> 
      </telerik:RadTreeView> 
       
      <!-- Context menu --> 
      <telerik:RadContextMenu ID="RadContextMenu1" runat="server" Flow="Vertical" Skin="Vista"
        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
        <Items> 
          <telerik:RadMenuItem runat="server" Text="Move with children"
          </telerik:RadMenuItem> 
          <telerik:RadMenuItem runat="server" Text="Copy dragged node"
          </telerik:RadMenuItem> 
          <telerik:RadMenuItem runat="server" Text="Copy with children"
          </telerik:RadMenuItem> 
        </Items> 
      </telerik:RadContextMenu> 
    </div> 
  </form> 
</body> 
</html> 
 

I do not have any event handled at all in the code behind file.
Yana
Telerik team
 answered on 22 Aug 2008
1 answer
284 views
Hi,

I'm working with telerik grid, combobox and radpanels. All these panels are in separet ascx files and each one has a RadAjaxPanel that make is to behave in ajax style.

I got a modal window that opens form the grid (when clicking on the appropriate column button). The modal window has a Close Button and a Save to Cart button. When the  close button us clicked  I do the following to refresh the parent page -         oWindow.BrowserWindow.SubmitPage();       

And, sometimes (not always) this makes the browser to show the follwoing error.
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0

Could you please advice what's wrong and how to work it out?

Many thanks,
Nicolae
Kiara
Top achievements
Rank 1
 answered on 22 Aug 2008
4 answers
233 views
I have a page with a RAD DropDown and a RADGrid (both Q2 2008 Ajax).

There are two SQLDataSource items as well one for the drop down which provides a categoryID for the second SQLDataSource and filters the results accordingly.

I moved the DropDown into the RadGrid CommandItemTemplate I get an error that the CategoryID is not available.

Is there something else I need to do to make it work?
briankb
Top achievements
Rank 2
 answered on 22 Aug 2008
13 answers
253 views

Grid's binding not working after upgrade. Using commanditem btn with 'UpdateEdited' worked before upgrade. Now grid just collaspes and stays in editmode. Also no rebind after insert or delete. Thanks in advance.

public

void OnUpdateCommand(object source, GridCommandEventArgs e){

GridEditableItem gvRow = e.Item as GridEditableItem;

int

itemID0 = int.Parse(gvRow.GetDataKeyValue("Id").ToString());

Suppliers

obj = new Suppliers();
Suppliers_Details objDetails = new Suppliers_Details();

objDetails.Id = int.Parse(itemID0.ToString());
Retval = obj.UpdateItem(objDetails);

//if error
if
(Retval[1] == "0"){
e.Canceled = true;
return;}

//If ok here the grid should close and rebind as before upgrade to Q3 SP2

}

//end sub

Jeff
Top achievements
Rank 1
 answered on 22 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?