Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
140 views
Hi,
I'm trying to use the RadToolTip to create a modal popup which fires if a certain condition is matched in my code eg.

if(condition x == true)
//Modal RadToolTip is displayed.
else
no tooltip displayed.

There won't be any interaction with a button or link on the page.

I should say the important think I'm looking for is the modal nature, I'm trying to prevent the user from continuing without first clicking a button in the popup which will then either take them to a new page, or dismiss the popup.

Is this possible?

Regards

Simon



Svetlina Anati
Telerik team
 answered on 16 Feb 2010
1 answer
83 views
When viewing a schedule in multi-day view, the result is often (especially when displaying a large number of days) narrow, tall appointments with very little readable text on each.

If the view could be transposed (with times across the header and dates in the leftmost column), then these same events would be wide and horizontal, allowing for much more readable appointment text.  In fact, this would seem to be a much more usable view than its default form.

Is this sort of display format currently possible via configuration, and if not, is it something that might be supported in the future?

Brandon

Peter
Telerik team
 answered on 16 Feb 2010
1 answer
129 views

Hi
     I tried to implement the Dynamic Rad Grid Creation through code behind(Telerik version Q3 2009 Sp2). The Control is working fine and datas are showing in the grid in More then 200 records.  So i set the page size is 25 in rad grid. When Click the Second Link the Data are are Disappear. The grid was gone . Let me know how can i fix the Rad grid dynamic pagenation issue. herewith i have send the sample code and sample print screen.

//Global Declaration

OrderManager orderManager = new OrderManager();

protected void Page_Load(object sender, EventArgs e)
{
  RadGrid Grid = (RadGrid)pnlReservationGrid.FindControl("OrderGrid");

            if (Grid != null)
            {
                AjaxDynamicReport.AjaxSettings.AddAjaxSetting(Grid, Grid);
            }
}

 

//Page Load
 protected void Page_Init(object sender, System.EventArgs e)
        {
            OrderGrid.ID = "OrderGrid";          
           OrderCheckinDateReport();
            OrderGrid.AllowPaging = true;
        }

 

  public void OrderCheckinDateReport()
        {
            List<OrderData> aOrderDataList = new List<OrderData>();

            fromDate = (Convert.ToDateTime(locateReservationStartDatePicker.SelectedDate));

            if (locateReservationStartDatePicker.SelectedDate != null && locateReservationLastDatePicker.SelectedDate != null)
            {
                toDate = (Convert.ToDateTime(locateReservationLastDatePicker.SelectedDate));
            }
            if (locateReservationStartDatePicker.SelectedDate != null && locateReservationLastDatePicker.SelectedDate == null)
            {
                toDate = toDate = fromDate.AddDays(30);
            }

            aOrderDataList = orderManager.GetRentalAgreementNotAgreedByCheckInDate(fromDate, toDate);
           
            OrderGrid.AllowPaging = true;
            OrderGrid.PageSize = 25;
            OrderGrid.DataSource = aOrderDataList;
            OrderGrid.AlternatingItemStyle.BackColor = Color.LightGray;
            OrderGrid.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric;
            OrderGrid.Width = Unit.Percentage(98);
            OrderGrid.AllowSorting = false;
            OrderGrid.AutoGenerateColumns = false;
            GridBoundColumn boundColumn;

            List<OrderReportData> aOrderReportDataList = new List<OrderReportData>();
            aOrderReportDataList = orderManager.OrderReportColumn();

            foreach (OrderReportData aOrderReportData in aOrderReportDataList)
            {
                boundColumn = new GridBoundColumn();
                boundColumn.DataField = aOrderReportData.DTOName;
                boundColumn.HeaderText = aOrderReportData.DisplayName;
                boundColumn.HeaderStyle.Width = aOrderReportData.CellHeight;
                OrderGrid.MasterTableView.Columns.Add(boundColumn);
            }

            OrderGrid.DataBind();
            pnlReservationGrid.Controls.Add(OrderGrid);

        }

Aspx page
<div class="updaterategroupshistorypnl" style="clear:both;"  >
     <asp:Panel ID="pnlReservationGrid" runat="server" GroupingText="<%$ Resources:AdminResource,pnlRateHistory%>">
       
     </asp:Panel>
 </div>
 <JetSoft:RadAjaxManager ID="AjaxDynamicReport" runat="server">
            </JetSoft:RadAjaxManager>

 

 

 

public void Display_Click(object sender, EventArgs e)

 

{

OrderCheckinDateReport();
}

 


Thanks
G. Manikandan
 

Pavlina
Telerik team
 answered on 16 Feb 2010
18 answers
362 views
We have installed Rad Editor (RAD controls for ASPNET AJAX) on our sharepoint server in our company. it was installed over a year ago with the Spell checker dictionary being the default US-English.  Recently one of the users has raised a call asking for a GB English dictionary.  I have downloaded the GB-English dictionary and know where to copy it to but am totally ignorant on how it needs to be changed so that the user, using intranet, can get the GB-English dictionary.  I've read the articles on this website but they dont make much sense.  Can somone in simple instructions tell me how to go about this as reading throught the article on 'enabling Spell checker' got me confused in that I didn't know where 'Radspell Declaration' was etc.  Any help will me much appreciated.

Taz.
M Tahir
Top achievements
Rank 1
 answered on 16 Feb 2010
3 answers
121 views
Hi Telerik Team,
I'm using RadUpload in my web application form to handle the upload file. I have a problem here with the mouse click event.
When I clicked the "select" button, there are some area that didn't respond to the mouse click event.
I've attached the image to make it clear. In that image you can see the area in a red box, if I click inside that area the popup to browse the files is worked smoothly, but if I clicked outside from that red box, it won't open the popup to browse file.
But the problem didn't occur if I set "EnableFileInputSkinning" to false.
Is there any solution to handle this without set " EnableFileInputSkinning" to false?


Thanks,
Vivie
Kamen Bundev
Telerik team
 answered on 16 Feb 2010
2 answers
73 views
hi all

i found this it can be bug or incompatibility

that

when i use rad ajax manager on my page and then after
i use to do some processing with it

and on final button i use to give user confirmation using rad alert

that process has been completed

when i use radajax pannel or radajax manager

then it wont show any confirmation i.e radalert

then i removed radajax manager from my page then MAGIC!!! it worked cool

dont know whats happening

i think there is bug

or if i am wrong then kindly please reply any suggestion

thanks

sadiqabbas
Top achievements
Rank 1
 answered on 16 Feb 2010
3 answers
161 views
I'm aware that VisibleRangeStart and VisibleRangeEnd are read only at the moment, but is there any way I can change their values as happens when a user clicks next/prev month?

thanks
Peter
Telerik team
 answered on 16 Feb 2010
5 answers
184 views
If I have a column named Source which corresponds to a property of MySourceEnum Source how do I write a filter expression for this?

So far everything I've tried along the lines of

RadGrid1.MasterTableView.FilterExpression = "[Source] = 'SourceEnumValue'" 

Keeps resulting in a server exception.

Should I be using something like MySourceEnum.SourceEnumValue or perhaps the concrete name Some.Name.Space.MySourceEnum.SourceEnumValue isntead?

Also I should point out I use Nullable enums on my object incase it could be an issue with the grid not handling nullable enums correctly.

Iana Tsolova
Telerik team
 answered on 16 Feb 2010
6 answers
168 views
Hi,

I am trying to create custom provider class for general purposes and  need to instantiate the class with some configuration settings including specifying an itemhandler depending on settings during the initialization of the class.

I see that in your example you read settings from web.config but that does not allow for multiple instances for the class with different configurations depeding on configuration values.

I think this a very needed addition to the custom provider classes to make it even more dynamic and extend it's capabilities.

is  there any other way to do this  that I am not aware of?

Thank you,

Alfred


Marco
Top achievements
Rank 1
 answered on 16 Feb 2010
4 answers
203 views
I'm using an evaluation version of 2009.2.701.35, and seem to be running into issues filtering from the clientside. Whenever I try to call the filter function on the mastertableview, it gives me an error within the MicrosoftAjax.js served by TelerikWeb.UI.WebResource.axd, specifically that the trim() function is not available on a variable i. This error is within the Sys$Enum$parse function of that file.

The way that I'm calling the function that I'm calling is as thus (from a RadComboBox):
        function filterCounty(sender, args){
            $find(<%=RadGrid1.ClientID%>).get_masterTableView().filter("CountyCode", sender.get_value(), Telerik.Web.UI.GridFilterFunction.EqualTo);
//            alert(sender.get_value());
        }

Based on what I'm seeing, the enum gets evaluated to the numeric value 5, and then is sent to the Sys$Enum$parse function. For whatever reason, the javascript engine seems to choke at this point.

Is this a problem that has been run into before? 
Ali Khamis
Top achievements
Rank 1
 answered on 16 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?