Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
301 views
Hello -

I am very new to your product. I love the ability to resize an image during upload but is there a way to resize the image with respect to it's DPI? Sometimes the image is the correct size, say 400x600 pix but at 300 or 240 dpi. Is there a way to change this image to say 72dpi greatly reducing the image file size?

Thank you.
Tervel
Telerik team
 answered on 03 Jul 2009
4 answers
256 views
Hi,

I am making a chat app and the DataList of messages is refreshed by a timer that is ajaxed by a RadAjaxManagerProxy

Problem is that because it is a proxy then all the controls on the page are being ajaxed and so the TextBox that the user types into is also refreshing.

So I need to stop the timer refreshing the TextBox somehow but then enable it when the user presses 'send' so that I can clear the TextBox. Does this make any sense?

Is this possible?

Cheers, Jon

 


 

Jon
Top achievements
Rank 1
 answered on 03 Jul 2009
1 answer
114 views
Are there any built in methods to call that would return a list of appointments given a date. The problem is trying to parse the code that gets put into the database for recurring appointments. I don't know the exact format and different variations in order to parse it to determine if there is an appointment on a particular day. I need to be able to get the appointments without a radschedular. Is there any methods to do this. Or can anyone provide the syntax for the recurrance rule that gets put into the database?
Peter
Telerik team
 answered on 03 Jul 2009
5 answers
375 views
We have a RadDatePicker control on a DNN module.   I'm logged in as a user with English as their locale, and all other Telerik controls on the module are localizing fine using meta:resourcekey="KeyName" (meaning they are picking up English text).  The DatePicker control for some reason is picking up Spanish text. There is no resourcekey set on this control. Here is the control declaration:

<

telerik:RadDatePicker ID="EndDatePicker" runat="server" MinDate="" Calendar-ShowRowHeaders="false">
</telerik:RadDatePicker>



So, I have two questions...

1.) Where are the localization files located for the RadDatePicker?  We haven't provided any localized text for this and haven't set the resourcekey attribute, yet it's still picking this up somewhere.

2.) What method SHOULD we be using to localize the RadDatePicker?
-DJ-
Top achievements
Rank 1
 answered on 03 Jul 2009
1 answer
107 views
Hi
       I am using HeaderContextMenu to hiding and unhiding column. But one thing whenever i hide any of column the grid the column should not come to right position.The total view of grid has been collapsed.

Note: I am using scroll bar and set the grid width to 2000px and mastertableview width to 100%, also i  adjust the some column width according to my preference.

Is there any possible way. to get an exact view of Grid when hide/unhide done


 

Regards,
Appu
Dimo
Telerik team
 answered on 03 Jul 2009
2 answers
181 views
Can someone just point me in the right direction with this? I can't seem to be able to change my column widths:

                        <telerik:RadGrid ID="RadGridDentistsNotes" runat="server" AutoGenerateColumns="False" TableLayout="Fixed">             
                            <MasterTableView DataSourceID="odsDentistsNotes" DataKeyNames="NoteID">                                                                                       
                                <Columns>                                                                                                                                    
                                    <telerik:GridBoundColumn DataField="NoteDate" HeaderText="Date" HeaderStyle-Width="50px" />                                    
                                    <telerik:GridTemplateColumn HeaderText="Note"> 
                                    <ItemTemplate> 
                                        <%#BLL.Functions.SummaryStr(Eval("Note"), 40)%> 
                                    </ItemTemplate> 
                                    </telerik:GridTemplateColumn> 
                                                                                                                                                                      
                                    <telerik:GridBoundColumn DataField="FK_UserFullName" HeaderText="User" HeaderStyle-Width="50px" />                                     
                                </Columns>                                                                  
                            </MasterTableView>                             
                             
                            <ClientSettings EnableRowHoverStyle="true">    
                                <Selecting AllowRowSelect="true" />          
                            </ClientSettings>                                   
                        </telerik:RadGrid>       

Actually I should point out that the widths are set when the grid contains no data, but when I rebind the grid and load data, the widths go back to standard.
Rick
Top achievements
Rank 1
 answered on 03 Jul 2009
2 answers
189 views
How can i prevent users from changing the pagesize in the grid?

I want them to be able to page throught the records, but not change it
Jason
Top achievements
Rank 1
 answered on 03 Jul 2009
14 answers
174 views
I've noticed today that I can't hide headers by setting ShowHeaders="False" if I have defined a <DayView GroupBy="Consultant"/> in my schedule control.  If I take out the DayView tag, I can no longer view my schedule with resource grouping.

Can you think of something I might have done to cause this?
Peter
Telerik team
 answered on 03 Jul 2009
1 answer
178 views
Hi

In Q2 2007 we are using the following code to dynamically set the target and open a ContextMenu on client click of a regular html control.

var menu = window["<%= PropertiesMenu.ClientID %>"]; 
if (menu) 
{ 
  menu.SetContextElementID(obj.id); 
} 

We're refactoring to use Q3 2008 and can see from the documentation that we should be using "set_targets" instead but this raises an error. Can you provide an eaxmple of how to use set_targets?
Genady Sergeev
Telerik team
 answered on 03 Jul 2009
1 answer
143 views

 

 

 

 

 

Hello,

I have the follwoing code on my aspx page. When ommiting the line oWnd.show(); in the javascript function the Close button on the radwindow is not working. When I take out that line, everything else is working as expected. Is this problem by design or am I missing something? Can you elaborate on the difference between using and not using the oWnd.show(); ? Using 2009 Q1 release.

<telerik:RadCodeBlock> 
 
<script> 
 
 
 
function openWin() {  
 
var activiteitSettings = document.getElementById('<%=activeActiviteitType.ClientID %>').value;  
 
var oWnd = $find("<%=RadWindow1.ClientID%>");  
 
var pos = GetTopLeftPosition(event.srcElement);  
 
dirty = 0;  
 
var d = Date.parseDate(document.getElementById('<%=infoArray.ClientID %>').value, "d-m-yy");  
 
var voor = document.getElementById('<%=voor.ClientID %>').value;  
 
 
if (activiteitSettings == 0)  
 
oWnd.setUrl("PopForms/Pop_Activiteit_Edit.aspx?urenoid=" + event.srcElement.id + "&g=" + voor + "&maandag=" + d.getDate() + '-' + eval(d.getMonth() + 1) + '-' + d.getFullYear());  
 
else if (activiteitSettings == 1)  
 
oWnd.setUrl("PopForms/Pop_Activiteit_Edit_Select.aspx?urenoid=" + event.srcElement.id + "&g=" + voor + "&maandag=" + d.getDate() + '-' + eval(d.getMonth() + 1) + '-' + d.getFullYear());  
 
oWnd.show();  
 
oWnd.moveTo(pos.x + parseInt(event.srcElement.clientWidth), pos.y);  
 
 
}  
 
</script> 
 
</telerik:RadCodeBlock> 
 
 
<telerik:RadWindow ID="RadWindow1" Skin="Vista" NavigateUrl="PopForms/Pop_Activiteit_Edit.aspx" KeepInScreenBounds="true"   
 
runat="server" Width="300px" Height="200px" ShowContentDuringLoad="false" VisibleTitlebar="true" VisibleStatusbar="false"   
 
Behaviors="Close, Move, Resize" > 
 
</telerik:RadWindow> 
 
Fiko
Telerik team
 answered on 03 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?