Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
63 views
Hi,

Scenario:
7 Rad Doc Zones and Panels on Master Page
RadMenu on Master Page
One .Net Dropdown List on Master Page

Browser IE 7 +

Issue
Rad Doc Panels gets dissappeard (Stays on the page but are not visible) when we click or do roll over on RadMenu or Drop down list in Runtime.
There is no code written on Click or Roll over events of the RadMenu or Dropdown list.

This problem is not reproduced on any other browsers like Google Chrome, Mozzila, but is Internet Explorer Browser Specific.

What could be the problem.
Pero
Telerik team
 answered on 10 Jan 2011
1 answer
286 views
hello
I am trying to reduce the bandwidth used by my web application. A couple of month ago, i noticed that MicrosoftAjax.js was sent to the client browser in for all pages. I prevent that by publishing my web application in release mode and specify in the web.config/compilation debug=false. But since i upgrade to Telerik 2010 Q3, MicrosoftAjax.js is send again. Do you use this javascript file in telerik components? and is it possible not to include it in the pages sent to the client web browser ?


thanks for your help
sebastien 
Simon
Telerik team
 answered on 10 Jan 2011
1 answer
81 views
I have button on a page in a user control that captures the current screen html, converts it to PDF format and pops up an asp.net form that simulates a new email form with the PDF document attached allowing the user to email a screen print of the current page. This is done by rendering the page twice, once for the PDF creation and then again to rerender the page to the screen. This works fine with non ajax controls, and with ajax controls I simply need to register the script control with the RadScriptManager in the OnPreRender event.

However when I try to do this with a page that has a RadGrid on it I get an issue that I have been unable to resolve. I have enabled ContextFilterMenu oand FilteringByColumn for the grid. One of the columns in the grid is called Order_Qty with a unique name of ColOrder_Qty.

When I try to render the RadGrid For the PDF creation I get the following error:-
Script control 'RNTBF_ColOrder_Qty' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors(). Parameter name: scriptControl

So my question is, What is this RNTBF_ColOrder_Qty script control, and mores to the point how do I get a reference to it in order to be able to register it with the RadScriptManger prior to rendering?

Stuart Watton
Nikolay Rusev
Telerik team
 answered on 10 Jan 2011
3 answers
325 views
Hi ,

    i am using rad chart control in my application.it is working fine when developement
but after given the build in IIS i am getting error- HTTP 404.0 -Not Found
please refer screen shot and let me know the solution
Vladimir Milev
Telerik team
 answered on 10 Jan 2011
1 answer
72 views
Hi All

I have a function that resizes a grid page size when the page has loaded,
I have used the "OnClientLoad" event of the main page splitter to fire this function.

However when the function uses an ajax request i get the following error:
Line 24610
Error this_tooltips.length is null or not an object
(I have attached a screen Shot)

This is the code:
Java:
function gridPsize() {
                    var h1 = $find("<%= RadSplitter5.ClientID %>").get_height();
                    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Grid1PageSize" + h1);
               }
Vb Code
Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest
      If Left(e.Argument, 13) = "Grid1PageSize" Then
            'Set Radgrid1 page size
            Dim pHeight As Integer = CInt(Right(e.Argument, Len(e.Argument) - 13))
            Dim rows As Double = (pHeight - 110) / 30
  
            If rows >= 1 Then
                RadGrid1.PageSize = CInt(rows)
                RadGrid1.Rebind()
            End If
  
            End If
  
    End Sub
The Problem does not occur on initial load of the page, It seems to occur on a re-query of the Grid? But not all the time.
I was wondering if it was related to mouse position on the grid as i have tooltips coded to the grid's ItemDataBound Event, The tooltips were in the ItemCreated Event but i moved them to see if it would cure the problem.

If anyone could shed any light on this it would be most appriciated.

Many Thanks

Regards

Darren
Maria Ilieva
Telerik team
 answered on 10 Jan 2011
1 answer
159 views
Hello,

I use the following code to enable multiple selection in the radtreeview. The code only works in IE and not in Chrome or FireFox. 
Could someone help me with this issue?

Code:

<telerik:RadCodeBlock ID="cb1" runat="server">


        <script language="javascript" type="text/javascript">
                   
        var RadTreeIsMultiSelecting = false;
        
        function CommitTree(e)
        {
            if (!e.ctlrKey | !e.shiftKey) 
            {
                if (RadTreeIsMultiSelecting)
                {
                    var aMan = $find("<%= ajMan.ClientID %>");
                    aMan.ajaxRequest("RadTree");
                    
                }
            }
        }


        function RadTreeClicked(sender, args)
        {
            RadTreeIsMultiSelecting = args._domEvent.ctrlKey | args._domEvent.shiftKey;
            var tree = $find("<%= RadTree.ClientID %>"); 
            tree.commitChanges();
        }
            
            
        </script>


    </telerik:RadCodeBlock>

Nikolay Tsenkov
Telerik team
 answered on 10 Jan 2011
1 answer
79 views
<telerik:GridTemplateColumn DataField="DelFlag" HeaderText="Status" SortExpression="DelFlag"
                            HeaderStyle-HorizontalAlign="Center" UniqueName="DelFlag" Visible="true" AllowFiltering="false">
                            <ItemTemplate>
                                <asp:Button ID="btnStatus" Font-Size="11px" Width="65px" runat="server" Text='<%#Eval("DelFlag")%>'
                                    OnClientClick="javascript:return confirm('Are you sure want to update status !!?')"
                                    CommandName="Command" />
                            </ItemTemplate>
                            <ItemStyle VerticalAlign="Middle" HorizontalAlign="Center" />
                        </telerik:GridTemplateColumn>


and following code on serverside .cs fle
 else if (e.CommandName == "Command")
            {
                GridDataItem item = (GridDataItem)e.Item;
                Button btnStatus = (Button)e.CommandSource;
                if (btnStatus.Text == "Deactivate")
                {
                    btnStatus.Text = "Activate";
                    string gameGID = Convert.ToString(((Label)item.FindControl("lblGameGID")).Text);
                    string delflag = "Y";
                    ds.UpdateCommand = "UPDATE tblGame SET DelFlag = '" + delflag + "' WHERE GameGID = '" + gameGID + "'";
                    ds.Update();
                    grdGameInfo.DataSource = ds;
                    grdGameInfo.DataBind();
                    grdGameInfo.Rebind();
                }
                else
                {
                    
                    btnStatus.Text = "Deactivate";
                    string gameGID = Convert.ToString(((Label)item.FindControl("lblGameGID")).Text);
                    string delflag = "N";
                    ds.UpdateCommand = "UPDATE tblGame SET DelFlag = '" + delflag + "' WHERE GameGID = '" + gameGID + "'";
                    ds.Update();
                    grdGameInfo.DataSource = ds;
                    grdGameInfo.DataBind();
                    grdGameInfo.Rebind();
                }


this will work if rad AJAX managar not on page.. If i put rad ajax .. the above scrip not working. It's only show alert message.. but server side event does not call. Please help how to call need urgent.
Princy
Top achievements
Rank 2
 answered on 10 Jan 2011
1 answer
98 views
I'm trying to get my RadGrid to allow updating to Oracle using a custom WebControl. I have went though numerous examples and always have one or two small things that dont seem to work correctly. There seems to be some many variations of hoiw this functioality works. Can someone please point me to an example using Oracle as the undelying database and allows updating ot the table via a custom Web Control?

Iana Tsolova
Telerik team
 answered on 10 Jan 2011
2 answers
248 views
I am researching the best way to hook a filter button to my grid header column rather than having a filter row displayed.  The filter row takes up too much space for what we are trying to do.  My idea would be to have an ImageButton that shows the filter image.  When the user clicks this button it would launch a radwindow to capture the criteria.  

My question is this:  Should I do this as a templated column?   It seems like the only way to add controls to the header is via a template.  The downside is that beyond that the column data is just a bound data column. 

Any recommendations or samples that I can refer to?

Randy
Niraj
Top achievements
Rank 1
 answered on 10 Jan 2011
1 answer
130 views
Hi there,

I have read the article here http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/clientapi/defaultcs.aspx in order to position the RadDatePicker popup. However, I get an error saying Telerik is Undefined due to the following code:

 

 

var startPicker = $("#<%=this.start.ClientID %>");

 

 

 

var endPicker = $("#<%=this.end.ClientID %>");

 

startPicker.set_popupDirection(Telerik.Web.RadDatePickerPopupDirection.TopRight);

endPicker.set_popupDirection(Telerik.Web.RadDatePickerPopupDirection.TopRight);

Can someone assist me in fixing this issue?

Shinu
Top achievements
Rank 2
 answered on 10 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?