Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
69 views
I want my loading panel to occupy the whole screen in transparency style..I am adding controls to the ajaxmanager programmaticaly ..My loading panel never do that (whole screen in transparency) ..it is do only thing..Whole screen or transparency ..I do not know exactly where is the error...Hope some one help me

This is my Cs code

uxRadAjaxManager.AjaxSettings.AddAjaxSetting(Panel1, Panel1, RadAjaxLoadingPanel1);
uxRadAjaxManager.AjaxSettings.AddAjaxSetting(Button1, Panel1, RadAjaxLoadingPanel1);
Is there specific order to add controls to the ajaxmanager ?


This is my aspx code


 <telerik:RadCodeBlock>
 <script type="text/javascript">
     function adjustLoadingPanelHeight() {
         $get("<%= RadAjaxLoadingPanel1.ClientID %>").style.height = document.documentElement.scrollHeight + "px";
         var loadingImage = document.getElementById('<%= RadAjaxLoadingPanel1.FindControl("Image1").ClientID %>');
         loadingImage.style.position = "relative";
         loadingImage.style.top = (parseInt(document.documentElement.clientHeight) / 2) - 50 + "px";
         loadingImage.style.right = (parseInt(document.documentElement.clientWidth) / 2) - 50 + "px";
     }

  </script>
 </telerik:RadCodeBlock>
 



<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>    

<rad:RadAjaxManager ID="uxRadAjaxManager" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1"
ClientEvents-OnRequestStart="adjustLoadingPanelHeight();" />



<rad:AjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"  transparency="30" backcolor="#E0E0E0" IsSticky="true" style="position:absolute;top:0;left:0" Width="100%" Height="100%">
    <div>
        <asp:Image ID="Image1" runat="server" ImageUrl="~/Utilities/Images/loading1.gif" AlternateText="loading" />
    </div>
    </rad:AjaxLoadingPanel>
Dimo
Telerik team
 answered on 14 Oct 2010
3 answers
132 views
Hey everyone,

What are the mandatory events in using a RadGrid?..Why it is not visible in the browser until it is empty and there is no datasource?....I want to show an empty rad grid with template columns in edit mode on page load,where user inputs data.Than data will be saved to a data table and then to db.But the grid is not visible?...What's that required or is compulsory while using radGrid?...
Maria Ilieva
Telerik team
 answered on 14 Oct 2010
5 answers
224 views
We are using an ObjectDataSource with the RadGrid.  When I use filter and sort the full list is retrieved from the datasource and then filtered/sorted afterwards.

I would like to be able to use these in the retrieval process (and push the work back onto the SQL server).  However I can't seem to find a way to get the filtercommand or sortcommand where I want it (and tell the grid that I've already done the work).  With a standard DataGrid/ObjectDataSource pair I would simply add a sort parameter name and the gridview would fill it in.  Does the RadGrid support anything like this?

As another option it doesn't have to be so automatic, I can provide the values to the datasource using its onselecting event.  I just can't figure out where to get the values at that point.  Right now I have placed them in a page level variable, which is a little ugly.  I would like to be able to just access the current FilterCommand or SortCommand from the Grid.  Something like:  RadGrid.GetCurrentSortCommand() ?

Thanks
Matt
Andrey
Top achievements
Rank 1
 answered on 14 Oct 2010
1 answer
178 views
We are using Telerik 2009.2.701.20 version. We have RadEditor on the screen to enter comments.
Our requirement is that whenever user makes change in this editor, a client side flag should be set to indicate that the editor contents are updated.
So is there any event for rad editor to achieve above functionally?
Shinu
Top achievements
Rank 2
 answered on 14 Oct 2010
1 answer
81 views
Hi there,

We have an application that uses a custom skin. I'm working on updating the Telerik tools used by the app (again: Q2 2008 to Q2 2010 SP2) and am running into a huge issue with our custom skin. It appears that no skin is being applied to any of the controls. I review the Changes and backward compatibility doc but didn't find anything that jumped out as an obvious deal-breaker.

Any suggestions?

Thanks!

Steve
Dimo
Telerik team
 answered on 14 Oct 2010
2 answers
66 views
Hi all,

Is there any way to make an axis range go from 12 to 1 rather than 1 to 12? Or to rephrase display the max value to the min value and the axis items. 

kind regards,

Ash
Ashley
Top achievements
Rank 1
 answered on 14 Oct 2010
1 answer
144 views
Hi

I am new to MVC and to ASP. I have been playing around with the demo http://www.telerik.com/ClientsFiles/163438_schedulermvc.zip and seem exactly what I need to get started. I have changed it to default to weekview, I then click on monthview everything ok until I want to go back to weekview and nothing happens, any ideas?

James
Peter
Telerik team
 answered on 14 Oct 2010
1 answer
200 views
Hi,
I have separate date and time field in 2 fields at database table. I am bounding it under ItemTemplate of a GridTemplateColumn . It is showing fine but can not be filtered by any means.

<telerik:RadGrid ID="grdDiscussionList" Skin="WebBlue"
runat="server" GridLines="None"
AutoGenerateColumns="False"
AllowSorting="True"
AllowFilteringByColumn = "true"
AllowPaging="True" PageSize="10"
OnNeedDataSource="grdDiscussionList_NeedDataSource"
OnItemCommand="grdDiscussionList_ItemCommand"
OnItemDataBound="grdDiscussionList_ItemDataBound"
OnItemCreated="grdDiscussionList_ItemCreated">

<PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
<MasterTableView DataKeyNames="Discussion_Id" CommandItemDisplay="Top" EditMode="PopUp">
<CommandItemSettings ShowAddNewRecordButton="false"/>
<EditFormSettings PopUpSettings-Modal="true" />
<Columns>

<telerik:GridBoundColumn DataField="Discussion_Id" DataType="System.Int32"
HeaderText="Discussion Id" ReadOnly="True" SortExpression="Discussion_Id"
UniqueName="Discussion_Id" Visible="false" >
</telerik:GridBoundColumn>

………………………….

<telerik:GridTemplateColumn UniqueName="Discussion_Date" HeaderText="Discussion date"
SortExpression="Discussion_Date" ItemStyle-Width="100">
<ItemTemplate>
<%# showDiscussionDate(Container.DataItem) %>&nbsp;<%# showDiscussionTime(Container.DataItem) %>
</ItemTemplate>
</telerik:GridTemplateColumn>
…………………………………………………..
</Columns>
</MasterTableView>
<ClientSettings EnableRowHoverStyle="true"></ClientSettings>
</telerik:RadGrid>



public string showDiscussionDate(object dataItem)
{
string retDate = string.Empty;
string inDate = string.Empty;
inDate = DataBinder.Eval(dataItem, "discussion_date").ToString();
retDate = clsUtility.returnDateFormat(inDate);
return retDate;
}

public string showDiscussionTime(object dataItem)
{
string retTime = string.Empty;
string inTime = string.Empty;
inTime = DataBinder.Eval(dataItem, "Discussion_Time").ToString();
//retTime = clsUtility.returnTimeFormat(inTime);
retTime = inTime;
return retTime;
}

Any idea , how to resolve this problem?
Marin
Telerik team
 answered on 14 Oct 2010
1 answer
70 views
Hi,

How to define Radmaskedtextbox to allow any chaaracter by using mask.


Dimo
Telerik team
 answered on 14 Oct 2010
2 answers
104 views
Hi, I am using Foundation 2010 and have added a radgrid webpart to a full page webpart page. For some reason the web part zone is fixed at around 200 pixels height and consequently the grid is then rendered in a scrollable box with scroll bars on the right hand side.

I was under the impression that the web part should expand to contain the grid without using scroll bars.

I have tried setting the height in web part properties but all that does is set the height of the grid - the zone remains fixed size.

Can anybody help? Have I missed some config options on the zone?

Thanks

cw
chris
Top achievements
Rank 1
 answered on 14 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?