Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
125 views
Hi Telerik-Community

We have built an asynchronous implementation of SharePoint's document library web part using the Telerik ASP.NET AJAX components to avoid all the unnecessary postbacks (besides eleminating other issues). The newly created web part works fine, but as soon as I add it to a web part zone on a page, I get JavaScript errors caused by the functions handling the onMouseOver and onMouseOut events for the <SharePoint:AspMenu>. This happens even with the default master page and a common page layout. Are there any known issues on this? Does anybody have any hints what might have gone wrong and how to fix it?

Kind regards,
Thomas

Tom
Top achievements
Rank 1
 answered on 15 Sep 2009
5 answers
177 views
Hi,
I'm using the example you have..
"Create an AJAX-enabled Sharepoint WEbPart tht uses RadControls"
http://www.telerik.com/help/aspnet-ajax/create-ajax-enabled-sharepoint-webpart-radcontrols.html

... and it is not recognizing Telerick Web UI.

AJAX is installed and configured on the MOSS.
RadControls have been deployed to the SharePoint Server.

I'm following the instructions for VS2008.  Using Team Edition.
I'm also converting this to VB which isn't the issue.

When I tried to create the Rad ScriptManager it did not recognize it. Smart Type or otherwise.
Tools have been registered as well.


Is there something missing to this example that you have given?
I'm not seeing anything, but the creation of the webpart in the example, so how is it recognizing the Telerik UI.
Webconfig has http handlers, etc... as they should.

I have what you see on this page except it is in VB and again that isn't the issue.
When I try to declare RadTree or RadScriptManager they are not being recognized.

Thanks!

Thanks!
Veselin Vasilev
Telerik team
 answered on 15 Sep 2009
1 answer
154 views

I have some code that has been working for a while, where I do stuff mostly on the client side (drag drop/delete/edit).  I process the client transactions saved in the ClientChanges collection on the server when a Save button is clicked   I had a need to add code to a context menu to allow adding a child to a selected node.  I specifically needed to have the node show up in edit mode right away for the user to add the node text.  I couldn't get this to work on the client side, so I saw a server side sample on your website that does exactly what I needed  (right click on node and select 'new folder' in context menu  http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/contextmenu/defaultcs.aspx). 

So I added the onContextMenuItemClick server event to the .aspx  (line 3 below) 

<telerik:RadTreeView ID="tvwCategory" runat="server" EnableDragAndDrop="true" EnableDragAndDropBetweenNodes="true" AllowNodeEditing="true" OnClientNodeDropping="onNodeDropping"  OnClientContextMenuItemClicked="onClientContextMenuItemClicked" 
  OnClientNodeEdited="onClientNodeEdited"  onprerender="tvwCategory_PreRender"   
  oncontextmenuitemclick="tvwCategory_ContextMenuItemClick"> 

And I of course add the corresponding code to the .aspx.cs for this method just as in the example.  This works great.  But now my code that processes client side changes for Drag and Drop is not working any more.  The client side delete and edit transactions still appear correctly in the ClientChanges collection, but transactions related to Drag and Drop are not there anymore.  If I remove the server side onContextMenuItemClick event code from the .aspx and .aspx.cs, then the Drag and Drop code works again!

What is happening here?  How to fix/ work around it?  I am using version 2008.3.1125.20
Yana
Telerik team
 answered on 15 Sep 2009
2 answers
94 views
I have placed Checkboxes inside radcombo. I DONT want to close the radcombo upon selecting one checkbox inside that.

I want to close radcombo once I move out of radcombo, or/and when I click somewhere outside on the form.

How to handle this?

Note: The Radcombo I am using for Radgrid filtering and its not directly available on the form.

I copied StopPropagation from link below and attached to onclick for checkbox
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/templates/defaultcs.aspx



Cb.Attributes.Add("onClick", "StopPropagation(event)")

and then I created panel dynamically (which renders DIV) and attached

pnl.Attributes.Add("onClick", "StopPropagation(event)")

Note: I am generating combox and checkboxes from codebehind
Sunny
Top achievements
Rank 1
 answered on 15 Sep 2009
2 answers
313 views
Sample code (truncated)

Public Class CustomerCollection
    Inherits List(Of Customer)

End Class

ASPX.VB

custCollection = GetCustomerList()

'custCollection is nothing in my case
RadGrid1.DataSource = custCollection
RadGrid1.DataBind()

and RadGrid is not showing "NoMasterRecordsText"
Sunny
Top achievements
Rank 1
 answered on 15 Sep 2009
4 answers
239 views
URI formats are not supported.  I get this message when I try to convert or create a web site.  What's up?
Vinayak Chitre
Top achievements
Rank 1
 answered on 15 Sep 2009
4 answers
133 views
Hi,
I am trying to implement inplace edit in one of the grids that we use, but its turning out to be too complex to understand.

It should have been a cake walk but apparently there is a lot that I need to learn.

So I have a radgrid like below:
<telerik:RadGrid ID="rgLineItems" runat="server" 
        AutoGenerateColumns="False"  AllowAutomaticUpdates="True"  OnItemUpdated="rgLineItems_ItemUpdated">

I am just showing the code thats important so as to improve the signal to noise ratio. Besides, I like to know exactly what every attribute does before I use it....

Now within the grid I have this edit column:
<telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                        <ItemStyle CssClass="EditRowImageButton" Width="10%"/>
                    </telerik:GridEditCommandColumn>

This is cool that it adds the edit button for each row automatically.

Now I have the actual data column like below:
<telerik:GridBoundColumn HeaderText="Line" DataField="Line" UniqueName="Line" 
            Visible ="true" ColumnEditorID="LineNumberColumnEditor">                               
            <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
        </telerik:GridBoundColumn>

The  inplace editor is declared like this:
<telerik:GridTextBoxColumnEditor ID="LineNumberColumnEditor" runat="server" TextBoxStyle-Width="20px" />


Now I have no idea what to do next.

On clicking the pencil image (the edit command  button), there is a postback to my page .... but in your example, the in place editor was showing up.... How do I achieve that?

Thanks,
Sunil
S
Top achievements
Rank 1
 answered on 15 Sep 2009
2 answers
112 views
I have a nagging requirement for my web app:  implement VB6 grid functionality.  Part of this requirement is to have an open editable grid that allows the user to press F4 to switch between grid and form view.

If the user is focused on the grid (a specific row) and presses F4 the grid switches to the edit form for that row (not showing the other rows in the grid)  when the user presses F4 again, the edit form reverts back to the grid.

Hopefully this makes some sense.  Is it possible to hide the grid except for the edit form to mimic this functionality?
AdamL
Top achievements
Rank 1
 answered on 15 Sep 2009
4 answers
133 views
Hi there,

I have an ajaxmanager on my page. Inside i created a setting for  asp:button's onclick event use a callback

<

 

telerik:AjaxSetting AjaxControlID="BtnEmailChart">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RdMenuToolBarForChart" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 


Onclick of the button an email is sent. What i would like to do is once the callback is done i would like to open a radalert indicating the message was sent.

I tried onresponseend for the ajaxmanager and notice that the ajax for the button does not fire this event. None of the partial ajaxification scenarios do... by design?

Anyway is there a solution here? How can i fire some javascript when the response ends for the above callback? thanks!

Iana Tsolova
Telerik team
 answered on 15 Sep 2009
2 answers
167 views
Hello Everyone
        I am in A little problem I ahve on input screen where i placed the RADTextbox and RAdNumeric Textbox > I want to empty the textbox fields through jquery > i wrote the code its working but problem is that after empty the textbox when i go back and click the RAD Textbox then the Fileds are show again this problem is not in the simple asp Textbox please let me know if any solution
Here is code to empty the RADTextbox through Jquery
  1.    $(form).find('input.inputstyle').each(function() {
  2.                 this.value = '';
  3.             });
Thanks
Raghav Sharma
Raghav Sharma
Top achievements
Rank 1
 answered on 15 Sep 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?