Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
510 views
I have a situation where I am defining mutliple Radwindows under Radwindow Manager.

<Rad windowmanager  id = RdManager1 >

<windows>
<radwindow1 id = rdwindoweasy> </radwindow>
<radwindow1 id = rdwindowhard> </radwindow>
</windows>
</radwindowmanager>

Here I want to set the radwindow size individually for each windows..But when I set so its not applying...It applies to all whn I set to radwindow manager.Please any suggestions on how do I set the radwindow size..i do not want to set it dynamically.



Fiko
Telerik team
 answered on 16 Sep 2009
3 answers
155 views
I have an link in my radgrid.When I click the link, a radwinow opens .After editing the data in the radwindow, the user will click the SUBMIT button to update the data in the sqlserver and the window will close.
My Question is how can I update the data in the radgrid when the user clicks the Submit button/ Close button of radwindow.Please help..
Thanks in advance
Fiko
Telerik team
 answered on 16 Sep 2009
1 answer
107 views
Hi,i am using teleric version Q1 2007.
Toolbar is getting disappered when we set enable docking property as "false".however when we set docking property as "true",toolbar becomes dockable.we don't want docking toolbar.what should we do?

Regards
Rahul ,Zcon Solutions
Rumen
Telerik team
 answered on 16 Sep 2009
0 answers
253 views
Hi,
i've got a RadTabStrip with few tabs, and i need to set a focus to a first element in javascript when clicking on tab.

already tryed solution provided in this thread :
but it throws me an exception :
 Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.

Would be glad to hear any solituion or advice how to achieve such functionality.

Thank You !
Taburetka Kekc
Top achievements
Rank 1
 asked on 16 Sep 2009
8 answers
460 views
scenario:

I have an asp:dataGrid. for each row in the grid there is a templateColumn containing a radDatePicker. Out to the side of each RadDatePicker i have an Image button that, when clicked, I need it to take the value of the radDatePicker that is to the left of the button and set all of the other RadDatePickers within the grid to that same value (Client Side).

Since all of the radDatePickers are within the grid, I wasn't sure how to pull the ID's of each. So instead, I was trying to get them the same class and then use Jquery to find them and then use the set_selectedDate(newDate) method on the client side. This is not working as I get the following message: Object doesn't support this property or method.

Not sure what I'm doing wrong...

here's my code:

<script type="text/javascript"
 
function setAllCheckDates (datevalue) { 
 
$('.rdpControl').set_selectedDate(new Date(datevalue)); 
</script> 
 
 
<asp:TemplateColumn HeaderText="Check Date"
   <ItemTemplate> 
    <telerik:RadDatePicker Visible="true" id="rdpCheckDate" Skin="Office2007" Width="100px" Runat="server" Culture="English (United States)" TabIndex="3" Font-Size="11px" EnableEmbeddedScripts="true" CssClass="rdpControl"
 <calendar ID="Calendar1" runat="server" usecolumnheadersasselectors="False" FastNavigationStep="12" ShowRowHeaders="False" userowheadersasselectors="False" viewselectortext="x" width="170px" Skin="Office2007"></calendar> 
 <DateInput ID="DateInput1" runat="server" Font-Size="11px" DateFormat="MM/dd/yyyy" EmptyMessage="mm/dd/yyyy" TabIndex="3" CssClass="checkdateinput" /> 
 <datepopupbutton CssClass="RadDatePicker_btnCalendar" hoverimageurl="_images/calendar_hover.gif" imageurl="_images/calendar.gif" TabIndex="3"></datepopupbutton> 
 </telerik:RadDatePicker><asp:ImageButton runat="server"  ID="imgSetAllCheckDates" ImageUrl="_images/icons/icon_dates_set_all.gif" /> 
    </ItemTemplate> 
</asp:TemplateColumn> 
 
 
    Private Sub dgInterfaces_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles dgInterfaces.ItemDataBound 
        Select Case e.Item.ItemType 
            Case ListItemType.Item, ListItemType.AlternatingItem, ListItemType.SelectedItem 
                Dim btnImgSetAllCheckDates As ImageButton = CType(e.Item.FindControl("imgSetAllCheckDates"), ImageButton) 
                Dim rdpTemp As Telerik.Web.UI.RadDatePicker = CType(e.Item.FindControl("rdpCheckDate"), Telerik.Web.UI.RadDatePicker) 
 
                btnImgSetAllCheckDates.Attributes.Add("onclick", String.Format("setAllCheckDates({0}.value);return false;", rdpTemp.DateInput.ClientID)) 
        End Select 
 
    End Sub 





Sebastian
Telerik team
 answered on 16 Sep 2009
2 answers
75 views
Hi,

We are using the Radgrid with the standard commanditemdisplay on top.
Is there a clientside event to handle the "AddNewRecord" button click so we can add our own functionality to this button?

greetings Datamex.
Datamex
Top achievements
Rank 2
 answered on 16 Sep 2009
1 answer
122 views
Is there a way to set rowheight for the resources vs the appointments different?
Yana
Telerik team
 answered on 16 Sep 2009
1 answer
178 views
    #region CreatedRadDockFromState  
    private RadDock CreateRadDockFromState(DockState state)  
    {  
        RadDock dock = new RadDock();  
        dock.ID = string.Format(state.UniqueName);  
        dock.ApplyState(state);  
        dock.CssClass = "RadDock";          
        string strDockID = string.Format(state.UniqueName);  
}  
 private RadDock CreateRadDock()  
{  
 RadDock dock = new RadDock();  
 dock.Title = "List Summary" 
  dock.TitlebarTemplate = new DockTitleTemplate();  
}  
 
  class DockTitleTemplate : ITemplate  
    {  
        TextBox txt = new TextBox();  
        Button btn = new Button();  
        LinkButton lnk = new LinkButton();  
 
        public void InstantiateIn(Control container)  
        {  
            lnk.ID = "lnk1";  
            lnk.Text = "initial text";  
            lnk.Click+=new EventHandler(lnk_Click);  
            container.Controls.Add(lnk);  
 
            txt.ID = "txt1";  
            container.Controls.Add(txt);  
            txt.Visible = false;  
            
            btn.ID = "btn1";  
            btn.Click+=new EventHandler(btn_Click);  
            btn.Text = "ok";  
            btn.Visible = false;  
            container.Controls.Add(btn);  
        }  
        protected void lnk_Click(object sender, EventArgs e)  
        {  
            txt.Visible = true;  
            btn.Visible = true;  
        }  
        protected void btn_Click(object sender, EventArgs e)  
        {  
            txt.Visible = false;  
            btn.Visible = false;  
        }  
    } 
 private RadDock CreateRadDock()  
{  
 RadDock dock = new RadDock();  
 dock.Title = "List Summary" 
  dock.TitlebarTemplate = new DockTitleTemplate();  
}  
 
  class DockTitleTemplate : ITemplate  
    {  
        TextBox txt = new TextBox();  
        Button btn = new Button();  
        LinkButton lnk = new LinkButton();  
 
        public void InstantiateIn(Control container)  
        {  
            lnk.ID = "lnk1";  
            lnk.Text = "initial text";  
            lnk.Click+=new EventHandler(lnk_Click);  
            container.Controls.Add(lnk);  
 
            txt.ID = "txt1";  
            container.Controls.Add(txt);  
            txt.Visible = false;  
            
            btn.ID = "btn1";  
            btn.Click+=new EventHandler(btn_Click);  
            btn.Text = "ok";  
            btn.Visible = false;  
            container.Controls.Add(btn);  
        }  
        protected void lnk_Click(object sender, EventArgs e)  
        {  
            txt.Visible = true;  
            btn.Visible = true;  
        }  
        protected void btn_Click(object sender, EventArgs e)  
        {  
            txt.Visible = false;  
            btn.Visible = false;  
        }  
    } 
Hello sir,
I am creating docks dunamically and would apply title editable funcationality...
I am sending you my code, in that I am not using any update panel...

once a title is update then save in database....

Once we created dock then set dock title which is already given , then after created link on titleBar template of dock's title that shows one textbox and one button...when click on that button save and show that update title in database.

how can I apply this functioning...please reply me ASAP..

thanks with regards

Pero
Telerik team
 answered on 16 Sep 2009
1 answer
148 views
In our application we work with a panelbar on the left, splitter in the mid and a grid on the right side of the application workspace. The grid only appears when a panelbar item is clicked.Thus the grid is invisible and becomes visible as soon as a panelbar item is clicked. Is this a feasible scenario or simply not possible? Our current problem is that the grid jumps all directions as soon as it appears but do not fit well for 100% in the parent pane.
Veli
Telerik team
 answered on 16 Sep 2009
2 answers
176 views
Hi,

I've a RadGrid that is editable, here i need to copy data from one textbox control to another textbox control.

Please provide solution.

Thanks in Advance
Durga


Durga
Top achievements
Rank 1
 answered on 16 Sep 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?