Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
63 views
complince  report
100   100% CPOE 01
100    100% CPOE 02
75     75% CPOE 03
78    78% CPOE 04
70    70% CPOE 05
0     0% CPOE 05a

rdChart2.Series(0).Clear()

rdChart2.Series(0).DataXColumn =

"Compliance"

 

rdChart2.Series(0).DataYColumn =

"Report"

 

rdChart2.DataSource = dailDataSet

rdChart2.DataBind()

rdChart2.PlotArea.XAxis.AutoScale =

False

 


In this data not binded to rad chart ----------------in these  i want to display reports column  in pie daigaram -----------------
Plz any tell me
Vladimir Milev
Telerik team
 answered on 13 May 2011
1 answer
41 views
Hi,

I'd like to use the Grid control to allow for inserting, updating and deleting items. The tricky part is the support of lookup to already existing records on insert/update.

In insert/edit mode, the first textbox will be a lookup, in which the other fields in the row will be filled in if found in DB. If not found, it will be inserted to DB as a new record.

Example:
I enter the ISBN number of a book and make a lookup in the DB to see if it's found, populate the other fields and save it as a row. If ISBN number is not found, then fill out all fields and save it as a new record to the DB.

Any tips about useful articles or code examples are appreciated.
Shinu
Top achievements
Rank 2
 answered on 13 May 2011
5 answers
272 views
Is it possible to put controls (ie. buttons) next to the caption of a radPanelBarItem?

Thanks.
Helen
Telerik team
 answered on 13 May 2011
1 answer
84 views
Hello,

I have a raddock with custom commands. I wish to replace custom command icon with a loading gif image when that icon is clicked till the time dock get refreshed completely. Then get back to original icon.

Can you please suggest how to do that ?
Pero
Telerik team
 answered on 13 May 2011
1 answer
96 views
Hi ,

    I have used rad window in my pjt.  it was working. when i move the rad window manager inside rad ajax panel it stopped working and throwing error like,"Cannot called after dispose"..

Here is the code

       function OpenRadWindowAddRecurrencePopup(isConflict, startDate, endDate, startTime, EndTime, SessionID, recordid, LOCATIONname, roomNo) {
                var Url = "./AddRecurrence.aspx?ISCONFLICT=" + isConflict + "&STARTDATE=" + startDate + "&ENDDATE=" + endDate + "&STARTTIME=" + startTime + "&ENDTIME=" + EndTime + "&SESSIONID=" + SessionID + "&CODE=" + recordid + "&LOCATIONID=" + LOCATIONname + "&roomNo=" + roomNo;
                var oWnd = radopen(Url, "radWindowAddRecurrencePopup");
                //oWnd.SetUrl(oWnd.GetUrl());
                return false;
            }
  
    <telerik:RadAjaxPanel>
// some controls here
 <telerik:RadWindowManager ID="RadWindowManager2" runat="server" MinWidth="500" ReloadOnShow="false">
            <Windows>
                <telerik:RadWindow ID="radWindowAccountCodePopup" OnClientClose="CallBackFunctionAccountCode"
                    Behavior="Close" VisibleTitlebar="false" Modal="true" Width="650px" runat="server"
                    Height="530px" NavigateUrl="~\Admin\AccountCodePopup.aspx" VisibleStatusbar="false">
                </telerik:RadWindow>
                <telerik:RadWindow ID="radWindowAddRecurrencePopup" Modal="true" Width="750px" runat="server"
                    Height="650px" OnClientClose="CallBackFunctionRecurrence" InitialBehaviors="None">
                    <%--OnClientClose="CallBackFunctionRecurrence"--%>
                </telerik:RadWindow>
                <telerik:RadWindow ID="radWindowViewEditRecurremcePopup" OnClientClose="CallBackFunctionRecurrence"
                    Behaviors="None" VisibleTitlebar="false" Modal="true" Width="700px" runat="server"
                    Height="450px" VisibleStatusbar="false">
                </telerik:RadWindow>
                <telerik:RadWindow ID="radWindowLocationPopup" OnClientClose="CallBackFunctionService"
                    OpenerElementID="" OffsetElementID="" Behavior="Close" VisibleTitlebar="false"
                    Modal="true" Width="578px" runat="server" Height="450px" NavigateUrl="~\Admin\LocationPopup.aspx"
                    VisibleStatusbar="false">
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
    </telerik:RadAjaxPanel>


thx
esther
Georgi Tunev
Telerik team
 answered on 13 May 2011
3 answers
183 views
Hi,

Im using Radgrid with AutoGenerateColumns="True" and the column header will be like "Firstname, Lastname" (with Comma). While sorting the grid on column (Firstname, Lastname) with sort expression field name it throws error like "Cannot find column Firstname". Im using the following code in RadGrid1_SortCommand.

GridSortExpression sortExpr = new GridSortExpression();
switch (e.OldSortOrder)
        {
            case GridSortOrder.None:
                sortExpr.FieldName = e.SortExpression;
                sortExpr.SortOrder = GridSortOrder.Descending;
                e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr);
                Session["GridSort"] = GridSortOrder.Descending;
                break;
            case GridSortOrder.Descending:
                sortExpr.FieldName = e.SortExpression;
                sortExpr.SortOrder = GridSortOrder.Ascending;
                e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr);
                Session["GridSort"] = GridSortOrder.Ascending;
                break;
            case GridSortOrder.Ascending:
                sortExpr.FieldName = e.SortExpression;
                sortExpr.SortOrder = GridSortOrder.Descending;
                e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr);
                Session["GridSort"] = GridSortOrder.Descending;
                break;
        }
e.Canceled = true;
RadGrid1.Rebind();

Sample Grid: (2nd Column Header contains Comma)

S.No FirstName, LastName DOB City
1 XXX, X 11/11/1111 NJ
2 YYY, Y 11/11/1111 NJ
3 ZZZ, Z 11/11/1111 NJ

Please Reply ASAP.
Thanks in Advance.

Thanks,
Ranjith J
Tsvetoslav
Telerik team
 answered on 13 May 2011
5 answers
154 views
I have the next code, that it's executed after a postback inside a grid(www.tedit.net)

            ExcelFile efE = new ExcelFile(); 
            ExcelWorksheet wsE = efE.Worksheets.Add("email"); 
            Response.Clear(); 
            Response.ContentType = "application/vnd.ms-excel"
            Response.AddHeader("Content-Disposition""attachment; filename=" + e.Row["rowno"] + "_Email.xls"); 
            efE.SaveXls(Response.OutputStream); 
            Response.End(); 
 

I already see this next:
not-on-top-of-call-stack

My problem is when the code reaches Response.End it throws an exception error. In the link I mention, it doesnt say how to resolve the issue.

This is the error message:
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack

Can you help please?

Daniel
Telerik team
 answered on 13 May 2011
7 answers
130 views

Hi,
We
 must ask the user about an operation during the process of the main thread. We currently use msgbox, depending on user response to make a decision or another.
We have updated RadControl from a previous version to the brand new version of the Telerik suite (2011.1.315.35) and we have seen that there is a new control that can reproduce the same action.

We
 would like to use Radwindows, radalert, etc, so that we can give our own style, keeping a similar CSS style of the application. The problem facing us is that through vb code for this control we must wait an answer from the user (like modal behaviour in WinFomrs).
We have done several test to make this behaviour possible.
We´ve seen that the RadWindow control appears after the code of the function finish instead of showing at the momment is being calledt.

is this a normal behaviour?.
Are we doing a bad implementation of the control?.

Kind regards.


Marin Bratanov
Telerik team
 answered on 13 May 2011
1 answer
241 views
Hi,

    I have used rad window. It was working fine wih IE8 and firefox. Recently i upgraded with telerik latest version. since then, the pop up is not getting opened with the width and height which i set.
 I have given the code of radwindow and javascript f unction call to open rad window below

 

<telerik:RadWindowManager ID="RadWindowManager2" runat="server"
<Windows>
 <telerik:RadWindow ID="radWindowAddRecurrencePopup" OnClientClose="CallBackFunctionRecurrence"  Behavior="Close" VisibleTitlebar="false" Modal="true" Width="750px" runat ="server" Height="650px" VisibleStatusbar="false"
</telerik:RadWindow>
</Windows
</telerik:RadWindowManager>
  
   function OpenRadWindowViewEditRecurrencePopup(isConflict, startDate, endDate, startTime, EndTime, SessionID, recordid, LOCATIONname, roomNo) {
                var Url = "./ViewEditSchedulePopUp.aspx?ISCONFLICT=" + isConflict + "&STARTDATE=" + startDate + "&ENDDATE=" + endDate + "&STARTTIME=" + startTime + "&ENDTIME=" + EndTime + "&SESSIONID=" + SessionID + "&CODE=" + recordid + "&LOCATIONID=" + LOCATIONname + "&roomNo=" + roomNo;
                var oWnd = radopen(Url, "radWindowViewEditRecurremcePopup");
                //oWnd.SetUrl(oWnd.GetUrl());
                return false;
            }

this problem is only with IE. it works in other browsers..
Is their any fixes for this issue?

Thx
Esther

 

 

 

 

Georgi Tunev
Telerik team
 answered on 13 May 2011
1 answer
232 views
My user control is displayed in a radwindow declared in page1. The web user control contains an asp:panel with it's defaultbutton set to a button on the web user control. Page1 also has a submit button.

If the radwindow content is focused, and I press enter, the button in the web user control works as expected.

If i click the radwindow's title bar or icon, the button in page1 is invoked; this is not desired.

As long as the window is displayed, only the web user control button should work.

<telerik:RadWindow ID="radWinAccountSearch" runat="server" Title="Account Search" Behaviors="Move, Reload" VisibleStatusbar="false" >
    <ContentTemplate>
        <ucAccountSearch:AccountSearch ID="AccountSearchControl" runat="server" OnAccountsSelected="AccountSearchControl_AccountsSelected" />
   </ContentTemplate>
</telerik:RadWindow>
Marin Bratanov
Telerik team
 answered on 13 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?