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

I want the tool tip should be shown on hovering the items on radcombobox, I am loading all the items on server side itself.
Onclient side i want to show the item text when hovering on mouse.

Please guide me.

Regards,
Xavier
Shinu
Top achievements
Rank 2
 answered on 21 Sep 2011
1 answer
138 views
Hi,

I have a

1) start datetime column
2) End datetime column

I'm hoping to avoid having to rewrite everything and create a gridtemplate column for validation. I was wondering about anyway to perform javascript functions to warn the user that the End datetime column must always be greater than the start datetime column.


thanks,
Minh Bui
Shinu
Top achievements
Rank 2
 answered on 21 Sep 2011
1 answer
103 views
Looking for a way to use an autogenerated edit form and automatic operations but add properties such as logged in user and date and time for an insert or update.  Is there a way to append items to what is being inserted using the grid's operations or is doing it on the data source the better option?
Shinu
Top achievements
Rank 2
 answered on 21 Sep 2011
2 answers
141 views
Hi,
I have a Grid that includes 2 GridButtonColumns. One of the buttons is MoveUp and the other is MoveDown. I need to hide the MoveUp button for the first row and hide the MoveDown button for the last row.

Is there an example for hiding a GridButtonColumn in the codebehind?

Thanks,
Dan
Dan Lehmann
Top achievements
Rank 1
 answered on 20 Sep 2011
2 answers
126 views
Hi,

I want to print labels.
Is this possible using telerik controls?

Thanks,
Ravi
Jagat
Top achievements
Rank 1
 answered on 20 Sep 2011
1 answer
574 views
Read this for a full details... the JavaScript errors that led me to this are printed below.  Please either answer my question on this thread or or Stack Overflow if you know how to resolve this.

http://stackoverflow.com/questions/7491924/http-handler-cannot-find-axd-file-in-nested-web-application-folder-telerik-radsc


JavaScript Error #1:

ASP.NET Ajax client-side framework failed to load.

<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}

JavaScript Error #2:

Sys is not defined

<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('RadScriptManager1', document.getElementById('editorform'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tctl00SU'], [], [], 90);
//]]>
</script>

JavaScript Error #3:

RadEditorCommandList is not defined

RadEditorCommandList['Edit Link'] = function(commandName, editor, oTool)
{
_editor
= editor;
_point
= editor.CreateRestorePoint();
var selection = editor.GetSelection();
var pe = selection.GetParentElement();
var id = '';
if (pe && pe.tagName.toLowerCase() == 'a' && pe.attributes['cms:asset_id']) {
id
= pe.attributes['cms:asset_id'].value;
}
window
.top.InlineLinkEditor.selection = selection.GetText();
window
.top.InlineLinkEditor.show('elementid=' + $('__elementId').value + '&xrefid=' + id + '&html=' + encodeURIComponent(selection.GetHtmlText()), editLink, null);
};




newb
Top achievements
Rank 1
 answered on 20 Sep 2011
1 answer
120 views

Hi Telerik team,
So far i have enjoyed using your telerik controls but now facing an awkward problem.
I am creating radgrid dynamically from the code behind with autogenerated columns TRUE.
when I set AllowSorting property of the grid to true. It is displaying the following error

Control 'ctl16_ctl00_ctl02_ctl00_ctl00' of type 'GridLinkButton' must be placed inside a form tag with runat=server.


I even tried with advanced databinding like on need datasource but no luck.
i set autogenerated columns=false and dynamically added columns and data fields and sortexpression and bind the grid. the previous error is gone but the sorting is not happening. Please take it as urgent issue and tell me the solution as my demo is tomorrow.
Thanks in advance






Jayesh Goyani
Top achievements
Rank 2
 answered on 20 Sep 2011
0 answers
88 views
Hi

I am using this code to get the Grandtotal of each item in Radgrid and show it in textbox outside Grid

function Grand_Total(sender)
 {
               
            var tot_cos = document.getElementById("tot_cos");
            var grandTotal = 0;
                
   
            for(var i = 0; i < sender.MasterTableView.Rows.length; i++)   //loop through the items
            {
                       var item = sender.MasterTableView.Rows[i];
                        if (item.Control.cells[1].all[0].checked == true)
             {                   
                var total;
               total= item.Control.cells[8].all[0].value.replace("$","");
                  
                grandTotal =  parseFloat(grandTotal) + parseFloat(total);
              }  
            }
              
            tot_cos.value = parseFloat(grandTotal);
 }
only when an item is checked i am retreiving the total.

When i open the same page on IPAD or safari . It gives me error item.Control.cells[1].all is not an object.

How can i get the item of radgrid in a row using uniquename.

Please help.

Thank you
kavya
Kavya
Top achievements
Rank 2
 asked on 20 Sep 2011
9 answers
367 views
Guys, this is a really really weird one for me.
we launch a modal window from a rowClick in radGrid:

 

 

string strfunction = String.Format("OpenWorkOrderDetails({0},{1},{2},{3})",

 

wonumber, wotypeid, locationid, woid);


the code above basically does the "window.open(wonumber, wotypeid, locationid, woid); from javascript and runs the Page Load event of the Page it's Opening.
usually passing the variable 'woid'
HOWEVER. For the Life of the Session, it never ever runs thru that Page load event again - only the first time.
And, you can select other rows go to another tab in the program & when you come back when you click that same row, the screen comes up exactly as it did the first time - completely skipping the "Page Load" event. if any changes were made on that window, it doesn't show them. it only shows the original data.
we're not caching anything, so, i dont understand how this is possible.
here's the  top part of that page - run inside of a master page.
is there anything that you can see & have you ever heard of anything like this before?
thanks again for any help.
rik

<%

 

@ Page Language="C#" MasterPageFile="~/NOVDarkBlue.Master" AutoEventWireup="true"

 

 

 

CodeBehind="InventoryConsole.aspx.cs" Inherits="NOV.GOLD.WebApp.Inventory.InventoryConsole" Culture="auto:en-US" UICulture="auto" %>

 

<

 

 

asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

 

 

 

<script type="text/javascript" src="../Scripts/CommonFunctions.js"></script>

 

 

 

<script type="text/javascript" src="../Scripts/WorkOrders.js"></script>

 

 

 

<script type="text/javascript" src="../Scripts/Inventory.js"></script>

 

 

 

<telerik:RadWindowManager ID="RadWindowMnager1" runat="server" KeepInScreenBounds="true"

 

 

 

CssClass="RadWinManager" VisibleStatusbar="false">

 

 

 

<Windows>

 

 

 

<telerik:RadWindow ID="RadWindow1" runat="server" Modal="true" Width="600" Height="500"

 

 

 

ShowContentDuringLoad="false" Skin="WebBlue" Behaviors="Close,Move" />

 

 

 

</Windows>

 

 

 

</telerik:RadWindowManager>

 

 

 

<telerik:RadAjaxPanel ID="MainContentAjaxPanel" runat="server" LoadingPanelID="MasterAjaxLoadingPanel">

rik butcher
Top achievements
Rank 1
 answered on 20 Sep 2011
0 answers
113 views
My colleague wrote a demo project that uses the rad combobox in a really nice way whereby each item in the combo box is of type [object] so can be cast to the object desired.. This was in the winforms version..

I am trying to do something similar in asp.net but cannot get it to work.. Can someone confirm this doesnt work in this version?

MassMaintenance.

 

MaintenanceFieldDTO selectedField =

 

comboboxField.SelectedValue

 

as MassMaintenance.MaintenanceFieldDTO;

 


In my code, comboboxField.SelectedValue is a string and I have to locate that string in my list of objects myself - I cant seem to do the above, right?

michelle
Top achievements
Rank 1
 asked on 20 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?