Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
327 views
Here is the code:
I put it in RadCodeBlock at first, every thing works fine. I can open it, close it, and reopen it, close again...
MyWindow is the ID of RadWindow

function ShowWindow(url, width, height) {
    alert("test");
    var oWnd = $find($telerik.$("[id$='MyWindow']").attr("id"));
    oWnd.show();
    oWnd.setUrl(url);
    oWnd.setSize(width, height);
    oWnd.center();
  
}

but after I move this part to external JavaScript file and reference it from the original RadCodeBlock, I can open and close the radwindow, but after closing it, I cannot open it again anymore, but the alert("test") is still working. Can anyone do me a favor to tell me what's the problem in it? Thanks a lot!

Marin Bratanov
Telerik team
 answered on 19 Mar 2015
2 answers
204 views
Hello,
I have a problem when trying to refresh the grid. when editing a item in the FormTemplate I want the grid to refresh and open the same row that was opened.
I used this javascript function in order to do so:
  var refreshGrid = function () {
        var masterTable = $find("<%= RadGridTranslations.ClientID %>").get_masterTableView();
        var openedItem = masterTable.get_editItems()[0].get_element();
        masterTable.editItem(openedItem);
    }

My problem is that the grid refresh and only the row in the same index location is opened. for example if the openedItem was in row number 3 , and by the time the grid refreshed , 2 items have been added , after the editItem function the grid is refreshed and open row is number 3 even though the openedItem is number 5.

Any help will be appreciated,
Kind regards.
 
Jaya
Top achievements
Rank 1
 answered on 19 Mar 2015
1 answer
47 views
Work on vs 2012 Asp.net C# web page application.I am trying to implement a load on demand scenario for a RadComboBox but am struggling to get it to work with multi columns gridview.I don’t want to implement multi column combo box.

Is it possible to use grid inside combo box with out any server(C#) code. i dont want to implement bellow method in server(C#) side RadComboBox1_DataBound,RadComboBox1_ItemsRequested , RadComboBox1_ItemDataBound

Note:selected item also need to show in item Template and edit template.
Pavlina
Telerik team
 answered on 18 Mar 2015
10 answers
118 views
Hi
i am new to telerik  and asp.net but have been using the examples on the site to make rad grids and am able to edit and insert items.


I have radgrid and there is a column named status.  I want to add a different dropdown based on the value during inline edit mode

so if value in the rad grid cell is "drop". The list is  
drop
add
remove

if value is "taken" then the list is
taken
remove 
keep

so I need a different drop down for the same column depending on the value of the cell. 

Also so if the cell is a different value "waiting" then I don't want to allow editing at all 

thanks

Norway77
Top achievements
Rank 1
 answered on 18 Mar 2015
1 answer
73 views
 Work on Asp.net web page application.

http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx

1. Click to add a new record
2. The "Delete" link will appear in the new row - it would be nice to have the same X icon

want to Click "Delete" link - it fires a javascript event then i want a validation process on javascript event then want to delete the row

help me to invoke a javascript event on click delete link.
Konstantin Dikov
Telerik team
 answered on 18 Mar 2015
5 answers
154 views
This might be a dumb question, but I thought that when I went into VS2013 and did New, Project, that there would be 4 templates for Telerik Responsive sites?

I could have sworn I read that somewhere but I don't see them.

Alan Sawyer
Top achievements
Rank 1
 answered on 18 Mar 2015
2 answers
189 views
I would say 98% of time clicking the first item checkbox under the "Check all", the checkbox doesnt get checked on first attempt, and it shifts a few pixels left.  I saw this first in my app but it also does it on the listbox demo:

http://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/checkboxes/defaultcs.aspx?skin=Bootstrap

It doesnt do it on Chrome, but does it on IE9 and Firefox.

Thanks.
David
Top achievements
Rank 1
 answered on 18 Mar 2015
0 answers
113 views
Download excel sheet  i got the below exception 

System.Data.OleDb.OleDbException (0x80004005): Operation must use an updateable query. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at in asp.net


I am using the  "sql = "Insert into [Data$]",connection  
MyConnection = new System.Data.OleDb.OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0;Data Source='" + destPath + "';Extended Properties=Excel 8.0;");

Please help me 
NA
Top achievements
Rank 1
 asked on 18 Mar 2015
1 answer
114 views
Hi,

For some reason, we decided to kill the titlebar.

When I go fullscreen, the playlist comes over the video but the button to remove it was on the titlebar that was killed...

Any idea ?
Eyup
Telerik team
 answered on 18 Mar 2015
3 answers
87 views
Hi,

I use RadLoadingPanel in my application with custom HTML and it works fine.

I include RadLoadingPanel in every page, so it makes me duplicate the HTML for each page.
Is there any way to use the same custom HTML for many loading panels?

this is my code:


                <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"<br>                    Width="75px"><br>                                <div id="loadingOverlay" style="text-align:left;"><br>    <div id="loadingBox"><br>        <table id="tblRoundedHeader" runat="server" class="RoundedHeader" style="width:100%;"><br>        <tr><br>            <td class="Header2Left"></td><br>            <td class="Header2Middle">Covertix</td><br>            <td class="Header2Right"></td><br>        </tr><br>        </table><br><br>        <div class="frame-left"><br>        <div class="frame-right"><br>            <div style="margin-left: 11px; margin-right: 11px; background-color: white; height:80px">    <br>                <div id="Image1" class="LoadingImg"></div><br>                <p style="margin-left: 55px;">Loading...</p><br>            </div><br><br>        </div><br>        </div><br>        <div class="bottom-left"></div><br>        <div class="bottom"></div><br>        <div class="bottom-right"></div><br>    </div><br>    </div><br>                </telerik:RadAjaxLoadingPanel>
Angel Petrov
Telerik team
 answered on 18 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?