Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
60 views
Is there an example code for providing a notification to  a user if they enter some data on a form but do not save, and try to click on another tab in the tabstrip?
andy
Top achievements
Rank 1
 asked on 13 Jul 2009
1 answer
74 views
'ScriptManager' is ambiguous in the namespace 'System.Web.UI'. 

I just installed Telerik and opened and existing site in development mode.  I added a new page which I wanted to use to replace an existing page that contained a grid.  After placing the controls on the page I started in Debug and got a slew of errors sinilar the the above error.

Where did I mess up?
Clifford Lane
Top achievements
Rank 1
 answered on 12 Jul 2009
0 answers
85 views
Hello,
My problem is as below.
When the user uploads an image (of varying size) the upload should be able to resize the image into a 75 by 75 px without distortion. That is using a fixed constraint ratio.
How can I achieve this?
Please Help.
Thank you
Dip
Top achievements
Rank 1
 asked on 12 Jul 2009
7 answers
273 views
Hi, I am currently using the Q1 2009 telerik tools.

Is it possible to highlight more than one hour on the calendar and then right click to get the context menu?

I would like to be able to highlight from 9am to 5pm then right click to be able to add an appointment.

Thanks, Mark
Fabio
Top achievements
Rank 1
 answered on 12 Jul 2009
0 answers
217 views
hi
 I Used the RadTabStrip control i tried to use the focus for each tab first control(using Java scripts). When i was clicking the tab that time the error showing like that Con't do " focus the control because it is invisible, not enable or of a type there does not accept the frous"


I wrote the code like this
<script type="text/javascript">
         function onTabSelecting(sender, args) {

           //  var MyTab = addPropertyTabStrip.FindTabByText("Tab 2");                          
                 
            // $find("<%= cmbContactManager.ClientID %>").focus();          
             // alert("OnClientTabSelecting: " + args.get_tab().get_text());
           //  var comboBox = $find("<%=cmbContactManager.ClientID %>");
            // var input = comboBox.get_inputDomElement();
            // input.focus();
             // SetFocus();
             

           //  var item = comboBox.get_selectedItem();
          //   document.getElementById("<%=hdnMasterInfoLocation.ClientID %>").focus();
             // document.getElementById(<%=cmbContactManager.ClientID %>.InputID).focus();

            
           
         }
         function onTabSelected(sender, args) {
             // alert("OnClientTabSelecting: " + args.get_tab().get_text());
            // var MyBox = document.getElementById('<%= addPropertyDetailsPageView.FindControl("txtDetailsSleeps").ClientID %>')
             //  MyBox.focus();

             var tb;
             tb = document.getElementById('<%= txtDetailsSleeps.ClientID %>')
             if (tb != null) {
                 window.setTimeout(function() {
                     tb.focus();
                 }, 100);
             }  
         }
         
function SetFocus()  
{  
// var comboBox = $find("<%= cmbContactManager.ClientID %>").focus();  ;
 
 // var input = document.getElementById(comboBox.InputID);  
//  input.focus();  
}  

     </script>


<JetSoft:RadTabStrip ID="addPropertyTabStrip" runat="server" OnClientTabSelected="onTabSelected"  SelectedIndex="0" MultiPageID="addPropertyMultipage">
        <Tabs>
            <JetSoft:RadTab runat="server" Width="85px"  Text="<%$ Resources:AdminResource, tabAddproPertyMasterInfo %>" Selected="True">
            </JetSoft:RadTab>
            <JetSoft:RadTab runat="server"  Width="75px" Text="<%$ Resources:AdminResource, tabAddPropertyContacts %>">
            </JetSoft:RadTab>
            <JetSoft:RadTab runat="server" Width="75px" Text="<%$ Resources:AdminResource, tabAddPropertyDetails %>">
            </JetSoft:RadTab>
            <JetSoft:RadTab runat="server" Width="85px" Text="<%$ Resources:AdminResource, tabAddPropertyBedLayout %>">
            </JetSoft:RadTab>
            <JetSoft:RadTab runat="server" Width="80px" Text="<%$ Resources:AdminResource, tabAddPropertyUtilities %>">
            </JetSoft:RadTab>
            <JetSoft:RadTab runat="server" Width="105px" Text="<%$ Resources:AdminResource, tabAddPropertyRatesPolicies %>">
            </JetSoft:RadTab>
            <JetSoft:RadTab runat="server" Width="70px" Text="<%$ Resources:AdminResource, tabAddPropertyPictures %>">
            </JetSoft:RadTab>
            <JetSoft:RadTab runat="server" Width="80px" Text="<%$ Resources:AdminResource, tabAddPropertyAmenities %>">
            </JetSoft:RadTab>
            <JetSoft:RadTab runat="server" Width="75px" Text="<%$ Resources:AdminResource, tabAddPropertyCharges %>">
            </JetSoft:RadTab>                        
        </Tabs>
</JetSoft:RadTabStrip> 


Notes:
     Some tab begin with combo box and some tab begin with text box and check box how can i solved this problem like begin with different problem. Please give me sample both
 
Let me know how can i solve this problem and Please do needful

Regards
G. Manikandan







mani
Top achievements
Rank 1
 asked on 12 Jul 2009
1 answer
151 views
Is it possible to use a GUID for the ID of the appointments/resources versus the INT described in the code samples and sample database?  Will this break anything?
Chris Owens
Top achievements
Rank 1
 answered on 12 Jul 2009
0 answers
119 views
Hi:
This is just information/sample.  So, this is really only declarative code and display two rows of data from a db.  Good job Telerik.
Phil
<%@ Page Language="C#" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
<%@ Import Namespace="System.Data" %> 
<script runat="server">  
    protected void radcomboboxDisplay_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)  
    {  
        RadComboBox _rcb = o as RadComboBox;  
        messageLabel.Text = _rcb.SelectedValue.ToString() + " " + _rcb.SelectedItem.Text;  
    }  
</script> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title> Rad ComboBox </title> 
</head> 
<body> 
    <form id="form1" runat="server">  
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
        </telerik:RadScriptManager> 
        <asp:Label ID="messageLabel" runat="server" Text="Label" /><br /> 
        <asp:SqlDataSource ID="nwSqlDataSource1" runat="server"   
            ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"   
            SelectCommand="SELECT EmployeeID As Value, FirstName + ' ' + LastName As DisplayText, Title As ExtraText FROM [Employees]"></asp:SqlDataSource> 
        <telerik:RadComboBox ID="radcomboboxDisplay" runat="server" Width="300px"   
            AutoPostBack="True" HighlightTemplatedItems="True"   
            CausesValidation="False"   
            onselectedindexchanged="radcomboboxDisplay_SelectedIndexChanged"   
            Skin="Office2007" DataSourceID="nwSqlDataSource1" 
            DataTextField="DisplayText" DataValueField="Value">  
            <HeaderTemplate> 
                Employee / Title  
            </HeaderTemplate> 
            <ItemTemplate> 
                <asp:Label runat="server" style="font-weight: bold"><%# DataBinder.Eval(Container.DataItem, "DisplayText") %></asp:Label><br /> 
                <asp:Label runat="server" style="font-size: smaller;"><%# DataBinder.Eval(Container.DataItem, "ExtraText")%></asp:Label> 
            </ItemTemplate> 
            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
        </telerik:RadComboBox> 
    </form> 
</body> 
</html> 
 
Phil
Top achievements
Rank 2
 asked on 12 Jul 2009
3 answers
214 views

I am using RadTooltipManager with ShowEvent = OnClick.
I dynamically add my user control in the OnAjaxUpdate method and then call a sub to load the data within the user control.

everything loads fine the 1st time I open the tooltip.
From within the user control i pull data from the database and populate a few radtextboxes.
then when I close the tooltip and open it again and my LoadData method is called again, the .text property on the radtextbox doesn't update. it still shows the value from the 1st time the .text property was set.

Stepping through my code I am positive that the property is getting set to the correct value.
After stepping into the line of code that sets the .text property, i verify that the property is set correctly.
Yet when the control renders, it still has the original value.

Here's the funny part. If I set the value to a label rather than a textbox, it works as expected.
It's only textboxes where the new value does not get set. I tried it with a RadTextBox and a normal TextBox and neither works correctly.
Also tried it with a RadComboBox - same as textbox, doesn't work.

Any ideas? This is driving me crazy.

TwoLaJit
Top achievements
Rank 2
 answered on 11 Jul 2009
4 answers
160 views
Hi,

I have a grid, with in-place edit. This grid has more than 50 rows, and when I go and edit one of the bottom rows, it goes in edit mode, then the grid positions itself to the top. I want the grid stay where it is, where I clicked the row for edit. I am not using scrollbars for the grid.

Thanks,

Brenda
Alex
Top achievements
Rank 1
 answered on 11 Jul 2009
2 answers
134 views
Hi anyone. Have you guys got an experience on using multiple grids in one panel?
My problem is... when I select a row in a grid,  the other selected grid should be deselected.  Now when I enable the enable rowpostback, the seem to have rebinding for all the grid that causes a log time or delay.  Is there another way to do it without enable the enable rowpostback on selection?

Your ideas are highly appreciated.  Thanks.

Alex ....
Alex
Top achievements
Rank 1
 answered on 11 Jul 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?