Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
107 views
Hi,

I have a rad menu that loaded from xml file and one of child menu will call a webservice that will return the child menus.

But it seems that the Breadcrumb RadSiteMap don't work for all the menu return from the webservice, is this an expected behavior ? d

Product | User |  Admin
                                  |_ Substance
                                               |_ List All
                                               |_ Substance A
                                               |_ Substance B

Product, User, Admin and Substance are all in a xml file.
When i click substance, it will call a web service that will return List All, Substance A and Substance B.

However the Breadcrumb seems didn't work when i click List All (all the menus returned from webservice).

Is there any work around if this is the expected behavior ?

Thanks in advance
Genady Sergeev
Telerik team
 answered on 18 Oct 2011
1 answer
279 views
I want to save records if use navigates to other pages I am using general ajax request onbeforeunload.
but it gives me following error

  1. Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0
Sys.WebForms.PageRequestManager._endPostBack
Sys.WebForms.PageRequestManager._onFormSubmitCompleted
(anonymous function)
(anonymous function)
Sys.Net.WebRequest.completed
_onReadyStateChange
Telerik.Web.UI.WeResource.axd:15

I am using following script

<script language="JavaScript1.2" type="text/javascript">
window.onbeforeunload = function() { $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest(''); }
</script>

ASPX Code:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" 
        onajaxrequest="RadAjaxManager1_AjaxRequest">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="divInterviewEvents">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="divInterviewEvents" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

Code Behind:
protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
        {
            this.SaveRecord();
        }
Maria Ilieva
Telerik team
 answered on 18 Oct 2011
2 answers
118 views
Hi
Im using radpanelbar in my application.
I'm applying  the backcolor for  radpanelitem by ovveriding the skin Black.
Below is my code.
.RadPanelBar_Black a.rpLink         
         {
            background:#2e5ba0 !important;
            filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#2e5ba0,endColorStr=#003366);   
            background: -moz-linear-gradient(0% 100% 90deg,#2e5ba0, #A1BAFF, #003366 100%);
  
         }
Its working for IE.
but in fire fox I'm getting the default color of Black skin.
please help in as early as possible
Ram
Top achievements
Rank 1
 answered on 18 Oct 2011
2 answers
205 views
Hello,

I had a RadComboBox on my screen and able to load the values in it. But when i select any item from DropDown, it is aligned to right.

EX : XYZUXYZUXYZUXYZUXYZ

When i select the item , it is displaying as UXYZ. Not able to see from the first letter since it is aligned to Right.
 
I have tried using Javascript and serverside. But no Luck :(

Please suggest.

Thanks InAdvance.
Chandrasekhar
Top achievements
Rank 1
 answered on 18 Oct 2011
1 answer
121 views
Hi telerik,

I am using RadGrid and I need to do totaling (sum) based on group.

I am using autogenerated column.

Please guid me.

my code:

 

<radG:RadGrid ID="empResults" runat="server" GridLines="Both" OnColumnCreated="RadGrid1_ColumnCreated"

 

 

Skin="Outlook" AutoGenerateColumns="true" ClientSettings-AllowDragToGroup="true" ShowGroupPanel="true"

 

 

OnGroupsChanging="RadGrid1_GroupsChanging" OnItemDataBound="RadGrid1_ItemDataBound" ShowFooter="true">

 

 

<MasterTableView AllowAutomaticUpdates="True" AllowSorting="FALSE" AllowFilteringByColumn="false"

 

 

PagerStyle-AlwaysVisible="true" ShowGroupFooter="true" ShowFooter="true" TableLayout="auto" Width="99%" >

 

 

<FilterItemStyle HorizontalAlign="left" />

 

 

<HeaderStyle ForeColor="Navy" />

 

 

<ItemStyle BackColor="White" />

 

 

<AlternatingItemStyle BackColor="#E5E5E5"/>

 

 

<Columns >

 

<%

-- <radG:GridBoundColumn Display="true" ReadOnly="True" DataField="Time_card_no"

 

UniqueName="Time_card_no" SortExpression="Time_card_no" HeaderText="Time_Card_No">

</radG:GridBoundColumn>

<radG:GridBoundColumn Display="true" ReadOnly="True" DataField="Emp_name"

UniqueName="Emp_name" SortExpression="Emp_name" HeaderText="Full_Name">

</radG:GridBoundColumn>

<radG:GridBoundColumn Display="true" ReadOnly="True" DataField="Sub_project_name"

UniqueName="Sub_project_name" SortExpression="Sub_project_name" HeaderText="Sub_Project_Name">

</radG:GridBoundColumn>

 

<radG:GridBoundColumn Display="true" ReadOnly="True" DataField="Tsdate"

UniqueName="Tsdate" SortExpression="Tsdate" HeaderText="Date">

</radG:GridBoundColumn>

 

 

<radG:GridBoundColumn Display="true" ReadOnly="True" DataField="Inshorttime"

UniqueName="Inshorttime" SortExpression="Inshorttime" HeaderText="In_Time">

</radG:GridBoundColumn>

 

<radG:GridBoundColumn Display="true" ReadOnly="True" DataField="Outshorttime"

UniqueName="Outshorttime" SortExpression="Outshorttime" HeaderText="Out_Time">

</radG:GridBoundColumn>

 

<radG:GridBoundColumn Display="true" ReadOnly="True" DataField="NH"

UniqueName="NH" SortExpression="NH" HeaderText="NH">

</radG:GridBoundColumn>

 

<radG:GridBoundColumn Display="true" ReadOnly="True" DataField="OT1"

UniqueName="OT1" SortExpression="OT1" HeaderText="OT1">

</radG:GridBoundColumn>

 

<radG:GridBoundColumn Display="true" ReadOnly="True" DataField="OT2"

UniqueName="OT2" SortExpression="OT2" HeaderText="OT2">

</radG:GridBoundColumn>

 

<radG:GridBoundColumn Display="true" ReadOnly="True" DataField="Remarks"

UniqueName="Remarks" SortExpression="Remarks" HeaderText="Remarks">

</radG:GridBoundColumn> --

 

%>

 

 

 

 

</Columns>

 

 

 

</MasterTableView>

 

 

<ClientSettings Resizing-ClipCellContentOnResize="true" >

 

 

</ClientSettings>

 

 

<ExportSettings>

 

 

<Pdf PageHeight="210mm" />

 

 

</ExportSettings>

 

 

<GroupingSettings ShowUnGroupButton="false" RetainGroupFootersVisibility="true" />

 

 

</radG:RadGrid>

 

Princy
Top achievements
Rank 2
 answered on 18 Oct 2011
3 answers
91 views
Hello,

I am trying to remove the "Css Class" and the "Style Builder" from the "Table Properties" screen. Also I'd like to remove everything from the "CSS Class Layout" screen except for the Preview.

Our version of the Telerik.Web.UI is 2011.1.1413.35.

The attached image basically displays what I want not to display.

Thanks,
Cameron
Rumen
Telerik team
 answered on 18 Oct 2011
2 answers
144 views
Hi,

I  have a rad tree as  a user control ,which i am using in various pages.
I need to read the selected node of the tree using  javascript.
Can i use  OnClientNodeClick click in the page where i am calling the user control ("Rad Tree")

Any help highly appreciated

Arash
Top achievements
Rank 1
 answered on 18 Oct 2011
4 answers
337 views
Hello everybody...
I'm fighting with sitefinity pretty long (yeah.... ASP.NET noob) so it's about time to chat with community :)

I want to export my RadGrid table to PDF - ok. Done. I had to adjust each column's width because every time I exported - they were different than originally.

But now I have only few columns and I don't want to resize them for full width. Instead I'd like to center my whole table - currently it's on the left part of page. 

I tried adding "<center></center>" onPdfExporting by adding them to RawHTML. Didn't work :(

Next thing I need is how to remove my filter row from pdf? It appears on every page.
Mira
Telerik team
 answered on 18 Oct 2011
1 answer
171 views
I have a RadGrid and RadWindow. When I double clicked on RadGrid on clientside, I want to RadWindow to open and resize to (600,450) . challenge is here, I have RadWindow visible to set false, so hard time to get the Radwindow it says  undefined) from RadGrid's double click row event from javascript function. Anyone can help to on this please?
Princy
Top achievements
Rank 2
 answered on 18 Oct 2011
2 answers
280 views
I have a RadGrid which when I add a record, launches a thread to create a new record and other things. The new record is created with status "Generating". When the thread finishes executing, it changes the status to "Generated".

Is it possible to have RadGrid auto-refresh when the record's status changes? Or auto-refresh even when it detects a new record in the database table it is bound to?
Shinu
Top achievements
Rank 2
 answered on 18 Oct 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?