Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
143 views
Hi, guys.
I have the following problem:
when FindAndReplace window is dragged (actually, enought mousedown action) text inside RadEditor and FindAndReplace window disappears untill drag ends (mouseup action).

The same behavior I can see on the online sample: RadEditor default

Is it a normal behavior and what explanation in this case? Or what could I do to get rid of this behavior?
Rumen
Telerik team
 answered on 20 Sep 2011
14 answers
245 views
Hi,

Is there any way to customize the Find and Replace dialog box?
I want to add one more button to the dialog and hide the replace tab.

Please suggest me.
Rumen
Telerik team
 answered on 20 Sep 2011
1 answer
217 views
Hi!

I have a RadWindow that doesn't show horizontal scrollbar (I have a grid with a lot of column and I need to see the scrollbar).
If I set overflow-x: scroll on the html tag I see the horizontal bar but I can't use it because it's disabled.

What can I do?


Thanks in advance!

Francesco Balatti
Zelando
Princy
Top achievements
Rank 2
 answered on 20 Sep 2011
1 answer
163 views
Hi,

During the OnItemDataBound, I'm using the GridDataItem to retrieve values from the grid. I'm able to do this w/ the regular columns. The instructions for the Template column said:  For template columns you must find the control in the grid cell and extract its value...please provide an example.

the following is the aspx code for the column
Shinu
Top achievements
Rank 2
 answered on 20 Sep 2011
2 answers
54 views
Hi Telerik,
I'm using Radgrid in my application.
I have one dount regarding radgrid needdatasource event.
Actually I'm binding the grid as follows

grid_needdatasource()
{
 bindgrid();
}
bindgrid()
{
//database intraction
grid.datasouce=dt;
}

Actually it will cal for databind,sorting and paging.
But everytime when we do sorting or paging this event will called and automatically bindgrid() method will call and it leads to database interaction agian. So every time when we do sorting or pagind its need database intraction. How to avoid this.
I think I have explored my doubt understandably.
please help me.
Ram
Top achievements
Rank 1
 answered on 20 Sep 2011
1 answer
90 views
Hi,

I'm using a rad grid to show line items for an invoice. Each row has an image button column used to delete the row when clicked.
I prefer to do this on the client and everything works fine until I call rebind to update the grid. It just doesn't work.The results in my data store show's the row has been deleted but the page is still posted back. Am I doing something wrong? Is there something else I should do since I'm using master pages?
function DeleteRow() {
             EstimateWebService.DeleteEstimateItems(rowId.Id, OnDeleteRowSucess)
         }
function OnDeleteRowSucess() {
             $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");
         }
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
                    EnableViewState="false" onajaxrequest="RadAjaxManager1_AjaxRequest">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="btnAddNewRow">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="grdEstimateItems" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdEstimateItems" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                  <telerik:AjaxSetting AjaxControlID="grdEstimateItems">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdEstimateItems" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                </AjaxSettings>
           </telerik:RadAjaxManager>
protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
    if (e.Argument == "Rebind")
    {
        //RadGrid1.MasterTableView.SortExpressions.Clear();
        //RadGrid1.MasterTableView.GroupByExpressions.Clear();
        grdEstimateItems.Rebind();
    }
}

Thanks,
Ron.
Princy
Top achievements
Rank 2
 answered on 20 Sep 2011
2 answers
148 views
I am using Raddock control in my application where I have an requirement where I need to move the expand collapse button Position to the center of Raddock. Is there any way I can control the position and move it to middle of dock?  Or how I can create custom button which will give me the ability to perform expand and collapse functions?
Rashmi
Top achievements
Rank 1
 answered on 20 Sep 2011
1 answer
189 views
Hello,

Thanks in advance for any help on this...Let me explain as best I can:

I have a parent page where I declare the window manager and the given window.

 

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" style="display:none;" Behavior="Close" InitialBehavior="None" Left="" Top="" Modal="true" >

 

 

<Windows>

 

 

<telerik:RadWindow ID="MyWindow" runat="server" Title="Buy Tickets" Height="600px"

 

 

    Width="700px" ReloadOnShow="False" Modal="True" Skin="Web20" VisibleStatusbar="False"

 

 

    Behaviors="Close" style="display:none;" Behavior="Close" InitialBehavior="None" Left=""     NavigateUrl=""     Top=""     ShowContentDuringLoad="False"  />

 

 

</Windows>

 

 

</telerik:RadWindowManager>




this page contains an ascx

the ascx conatains a nested repeater

the nested repeater contains dynamic hyperlink controls.

i want the navigateURL property to open a radwindow and I cannot get this to work.

I tried the following function in the parent page:
function ShowWindow()
{

 

     window.radopen('http://www.google.com', 'MyWindow');

 

}

and dynamically setting the navigateurl property of the hyperlinks to call that function as follows:

 

"javascript: ShowWindow();"

 

;

 

 

 


thanks for your help...jim

sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
 answered on 20 Sep 2011
3 answers
174 views
I have a radGrid and a radWindow on a page. Row selection on click IS turned on for the grid. The radAjaxManager is set up so that both the radGrid and the radWindow are trigger controls, and both update themselves and the other control.

When a row is double-clicked in the grid, I open the radWindow and display the records details. If you double-click another row while the radWindow is open, the detail display changes to the new record. I also have Next and Previous buttons on the window that change the selected record in the grid (using MasterTableView.selectItem(nrow)) and update the radWindow display. That all works perfectly.

I have also set it up so that while the radWindow is open the user can single-click a row in the grid to update the radWindow display. I use the OnSelected event for this purpose (hooking the OnRowClick event interferes with the OnRowDblClick event handler). The detail display in the radWindow gets updated with the new row correctly, but the row selected by the single-click is not highlighted to indicate that it has been selected! Worse, when I click the next or previous button on the radWindow, the selected record in the grid is moved relative to the highlighted row, which was the last row double-clicked or selected by next/prev buttons, rather than relative to the row I single-clicked. It's acting as if when a row is single-clicked it is only temporarily selected. When the radWindow is closed, single-clicking seems to work perfectly.

Is this a known issue with a known work-around? How do I get the single-click to select the row, highlight it as selected, and keep it selected?


Tracy Dryden
Top achievements
Rank 1
 answered on 19 Sep 2011
0 answers
226 views
I have a few telerik calendar controls on an ascx control along with other regular objects such as text boxes etc....

I needed to set the Id of the control so I added the following code to my code-behind:

protected void Page_Init(object sender, EventArgs e)
{
    this.ID = "MyFormId"
}

After I did this, built the website and loaded the page I noticed that my telerik calendar controls were no longer working and I saw a JavaScript error was being thrown saying "Uncaught SyntaxError: Unexpected identifier" and then when I go to the line its referencing the error is occuring on the line that does: Sys.Application.add_init(function().

When I comment out my Page_Init method the Telerik controls work just fine. 

How can I implement my Page_Init method without breaking Telerik?

Thanks!
Flea#
Top achievements
Rank 1
 asked on 19 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?