Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
202 views
function openRadWindow(wndTitle, sParentID)
{
var oWnd = parent.window.radopen('Default.aspx?ID=' + sParentID + '&Title=' + wndTitle, null);
oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Reload + Telerik.Web.UI.WindowBehaviors.Close);
oWnd.SetSize(360, 400);
oWnd.MoveTo(300, 90);
return false; 
}

I am using the above javascript code for opening and setting the behaviour of radwindow.
I am able to get the object of Telerik.Web.UI although Telerik.Web.UI.WindowBehaviors comes out to be undefined. I have registered the Teleric.Web.UI dll in my application and is able to use successfully the other radControls.


Georgi Tunev
Telerik team
 answered on 19 Nov 2009
5 answers
230 views
In my case, I will have two List Box ListBox1 and ListBox2. ListBox1 is loaded with 15000 items. When the user clicks a button, the selected item in ListBox1 is moved to ListBox2 and the selected item is removed from ListBox1.

Following are the problems that I face,

- Page load itself is slow. I am loading the items in ListBox1 in Page load(takes about 45 seconds)
- Selecting an item in ListBox1 is slow(takes about 1 minute)
- Moving the selected item from ListBox1 to ListBox2 is slow(3 minutes), sometimes the page goes not responding

Kindly help me to overcome these issues.
Paul
Telerik team
 answered on 19 Nov 2009
3 answers
203 views
Hi,

This is my datepicker. How can i highlight today date in my datepicker.

<telerik:RadDatePicker ID="dtpDocStart"   Culture="en-GB"    
                                                    SharedCalendarID="sharedCalendar"  Width="100px"    runat="server"
                                                    CssClass="RadInput_Default">

<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"></Calendar>

<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>
                                                </telerik:RadDatePicker>
lakmal




Shinu
Top achievements
Rank 2
 answered on 19 Nov 2009
3 answers
287 views
Dear Telerik
                       My Requirement is to do filtering based on  date.I am using raddatepicker inside radgrid.Please find below the radgrid aspx code.Please let me know how to filter based on date or time in codebehind file using c#.I need it urgently.Appreciate your quick response.


 <telerik:RadGrid ID="gvEventHistory" skin ="Default" runat="server" AutoGenerateColumns="false" AllowPaging="true" AllowSorting="true"
     AllowFilteringByColumn="true" OnItemDataBound="gvEventHistory_ItemDataBound" OnItemCreated="gvEventHistory_ItemCreated" >
    <MasterTableView>
    <RowIndicatorColumn>
    <HeaderStyle Width="2px" />
    <ItemStyle Width ="10px" />
    </RowIndicatorColumn>
   <Columns>
          
    <telerik:GridBoundColumn DataField="START_TIME" HeaderText="Start date" AllowFiltering="true"
    CurrentFilterFunction="EqualTo" ShowFilterIcon="false" DataFormatString="{0:d}">
    <FilterTemplate>
    <telerik:RadDatePicker ID="rdStartDate" runat="server" ClientEvents-OnDateSelected="DateSelected">
    </telerik:RadDatePicker>
    </FilterTemplate>
    </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="END_TIME" AllowFiltering="true" HeaderText="Start time" CurrentFilterFunction="EqualTo" ShowFilterIcon="false" DataFormatString="{0:T}">
    <FilterTemplate>
    <telerik:RadTimePicker ID="rdStartTime" runat="server"></telerik:RadTimePicker>
    </FilterTemplate>
    </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <ClientSettings Selecting-AllowRowSelect="true">
        <ClientEvents/>
        </ClientSettings>
    </telerik:RadGrid>
  

Thanks
Sri

Pavlina
Telerik team
 answered on 19 Nov 2009
1 answer
173 views

Hello,

 

Something strange happens with the padding of the radGrid.

 

When I'm working locally (localhost) the width of my columns are equal to the specified width. That's correct. But when my project is published on my production server the effective column width is the width specified + the cell padding (about 8px). On my production server, my grid is swollen…

 

<HeaderStyle Width="165px" />

 

Localhost : the effective column width will be: 165px

Production server: the effective column width will be: 181px (Width="165px" + padding-left:8px + padding-right:8px)

 

Why this behavior?
Which scenario is correct?

Thank you.

Dimo
Telerik team
 answered on 19 Nov 2009
1 answer
101 views
Hello Team,

I encountered the problem addressed in first sticky post (Possible breaking change in RadComboBox ...) with RTL mode, when upgraded to Q3. Since tech support reverted me to said post in the ticket I opened, I'll post my comments here...

1.  A brand new base stylesheet instead of skin file only:
Not sure I understand what is meant by that. Since Q1, I see a RadComboBox base stylesheet and multiple skins files, one per skin. Checking Q3, I can see the same. So, what has changed?

2. RTL fix:
For a few number of combos the fix might sound fine, but not for a true web application. I mean, implementing that (in addition to disabling base stylesheet) for every single combo in the application is far from being practical. Aren't you going to address that in a further build because until now, it hasn't been?! Or, perhaps come up with a more practical solution?

Thank you.

Regards,
Saed

Kamen Bundev
Telerik team
 answered on 19 Nov 2009
7 answers
182 views
I was just curious if anyone has any good ideas or thoughts on how I can print a calendar that has events loaded on it. Is there an option or something? If not, anyone have any good suggestions? Thanks,
Daniel
Telerik team
 answered on 19 Nov 2009
1 answer
102 views

Hi

 

Does the rad grid had a property that could let the user manipulate all the records that are bind to the grid in memory on client side and then summit all the changes to database. This is because a have to validate a specific column for all the records that are part of the same batch of records. I’m have an idea of using a data table to perform this task (update, insert, delete) records before submit changes to database. Please advice if this would be the correct approach.

Sebastian
Telerik team
 answered on 19 Nov 2009
1 answer
150 views
Just curious on what will happen if a major site was found out to be using Telerik controls they didnt pay for.
Anton Hristov
Telerik team
 answered on 19 Nov 2009
3 answers
227 views
Hi,

I am using RadPanelBar with multiple RadPanelItem in aspx, and within a RadPanelItem i am loading user control programmatically, after successfully loaded user control, that user control have a one control that is button and two textboxes(i.e. txtFirstName, and txtLastName). when i click on that button i access RadPanel through following code, and try to change the Text property, but it will not reflect or change(as per the text value of txtFirstName and txtLastName) why?

Telerik.Web.UI.RadPanelBar rpbUser = this.Parent.Parent.Parent as Telerik.Web.UI.RadPanelBar;
if (rpbUser != null)
{
       rpbUser.Items[1].Text = "Contact Info" + " : " + txtFirstName + " " + txtLastName;
}

Thanks & Regards
Dharmesh


Paul
Telerik team
 answered on 19 Nov 2009
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?