Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
Hi Telerik Team....

I am using the RadTabStrip Contol in this I have 4 tabs and I do AutoPostBack=True , On Each Tab Selected I am Loading UserControl into the Tab. but m doing at Page_Load event (Not on TabClick event) like i check each time....
switch(radTab.SelectedIndex)
{
case 0:
//LoadControl();
break;
case 1:
//LoadControl();
break;
case 2:
//LoadControl();
break;
}

Now i want to use AJAX on it......I tried both way, AJAX update Panel and RadAJAXPanel but both are not working for me.........I don't want to show user that its TabSelecting Request is going to sever........
Paul
Telerik team
 answered on 09 Jul 2008
1 answer
261 views
hello,

i have a tabstrip with multipages.
and each page has a control and when i click on one tab then all the controls postback. and i want that only clicked tab's page should be postback.
here is the code...

<

telerik:RadTabStrip ID="tabStrip1" runat="server"

Skin="Outlook" MultiPageID="multiPage_Details"

Orientation="VerticalLeft" AutoPostBack="true"

OnClientTabSelecting="onTabSelecting" SelectedIndex="0" >

<Tabs>

<telerik:RadTab Text="Tab1" PageViewID="pv1" runat="server">

</telerik:RadTab>

<telerik:RadTab Text="Tab2" PageViewID="pv2" runat="server">

</telerik:RadTab>

<telerik:RadTab Text="Tab3" runat="server" PageViewID="pv3">

</telerik:RadTab>

</Tabs>

</telerik:RadTabStrip>

<telerik:RadMultiPage runat="server" ID="multiPage_ProductDetails"

CssClass="multiPage" SelectedIndex="0">

<telerik:RadPageView runat="server" ID="pv1">

<div >

<uc3:ctrledit ID="Edit_1" runat="server" />

</div>

</telerik:RadPageView>

<telerik:RadPageView runat="server" ID="pv2">

<div style="width:700px">

<uc4:Content ID="Content1" runat="server" />

</div>

<telerik:RadPageView runat="server" ID="pv3">

<div style="width:700px">

<uc4:Content2 ID="Con1" runat="server" />

</div>

</

telerik:RadPageView>

Sarb
Top achievements
Rank 1
 answered on 09 Jul 2008
1 answer
224 views
I have a toolbar in the commanditemtemplate of a radgrid. Which works fine.

I would like to be able to make the border/background of the toolbar transparent so that it will blend into the command bar more seamlessly.

Can this done?
Peter
Telerik team
 answered on 09 Jul 2008
2 answers
215 views
Hi,

I am trying to set the SelectedDate property for my date picker which comes out of a XML file.  But the error that I keep on getting is:

Specified cast is not valid.

The date is in the format of 2008/01/01 in my XML file.

Here is my code:

<radG:GridTemplateColumn
   HeaderText="Date Of Deposit"
   UniqueName="DateOfDeposit">
   <ItemTemplate>
      <asp:Label ID="lblDateOfDeposit" runat="server" Text='<%# Eval("DateOfDeposit") %>'></asp:Label>
   </ItemTemplate>
   <EditItemTemplate>
      <radCln:RadDatePicker
         ID="rdDateOfDeposit"
         SelectedDate='<%# Eval("DateOfDeposit") %>'
         runat="server">
         <DatePopupButton
           HoverImageUrl="~/RadControls/Calendar/Skins/Default/Img/datePickerPopupHover.gif"
           ImageUrl="~/RadControls/Calendar/Skins/Default/Img/datePickerPopup.gif" />
      </radCln:RadDatePicker>
   </EditItemTemplate>
</radG:GridTemplateColumn>

Please can someone help me?

Thanks
Brendan
Vlad
Telerik team
 answered on 09 Jul 2008
4 answers
146 views
With older RadGrid component, I used to modify the content of a cell on client-side by this way:

 rowObject.KeyValues["myKey"] = "myValue" 

How could I do the same with RadGrid Q1 2008 ?

I found how to get the value, by using getDataKeyValue("myKey") method, but I can't assigned a value using this method

 

Vlad
Telerik team
 answered on 09 Jul 2008
5 answers
123 views
Hello,

I have a main window which holds the TabStrip. Within this window I have an IFRAME. How can I access the TabStrip object from within the page of the IFRAME.

Generally, to access an object in the parent I would do something like

window.parent.document.getElementById(...)

I want to get the ClientID of the TabStrip from the IFRAME so that I can enable disable tabs based on user selection from within the IFRAME page.

Any help would be most appreciated.

Thanks
Bala
BALA MUKUND
Top achievements
Rank 1
 answered on 09 Jul 2008
17 answers
729 views
I add GridButtonColumns to a grid at runtime. In the "ItemCreated" event of grid I assign client function to the buttons. Now I wonder how I can find out the clicked row when clicking on a button and how to select that row. Hope you can help.

Thanks in advance
The Oracle
Top achievements
Rank 1
 answered on 09 Jul 2008
3 answers
230 views

I am having a problem with a date picker when it is inside a table. The popup as far far too large, and I cant understand why.

I have nothing strange in my CSS that I can think would case this:

/* Table Styles */ 
table {  
    width:90%;  
    margin:1em auto;  
    border-collapse:collapse;  
    font-size: 13px;  
    float:left;  
    }  
      
caption {  
    color: #9ba9b4;  
    font-size:13px;  
        letter-spacing:.1em;  
        margin:1em 0 0 0;  
        padding:0;  
        captioncaption-side:top;  
        text-align:left;  
    }     
tr.odd td   {  
    background:#f7fbff 
    }  
tr.odd .column1 {  
    background:#f4f9fe;  
    }     
.column1    {  
    background:#f9fcfe;  
    }  
td {  
    color:#678197;  
    padding:.3em 1em;  
    text-align: left;  
    }                 
th {  
    font-weight:normal;  
    color: #678197;  
    text-align:left;  
    padding:.3em 1em;  
    }                             
thead th {  
    background:#f4f9fe;  
    text-align:center;  
    font:bold 1.2em/2em "Century Gothic","Trebuchet MS",Arial,Helvetica,sans-serif;  
    color:#66a3d3 
    }     
tfoot th {  
    text-align:center;  
    background:#f4f9fe;  
    }     
tfoot th strong {  
    font:bold 1.2em "Century Gothic","Trebuchet MS",Arial,Helvetica,sans-serif;  
    margin:.5em .5em .5em 0;  
    color:#66a3d3;  
        }         
tfoot th em {  
    color:#f03b58;  
    font-weight: bold;  
    font-size: 1.1em;  
    font-style: normal;  
    }    

Here is my control declaration:

<tr> 
            <th class="column1" scope="row">  
                Visit Date</th> 
            <td> 
                <telerik:RadDatePicker ID="dpVisitDate" runat="server" MinDate="1910-01-01" Skin="Vista" 
                    TabIndex="1" Culture="English (United Kingdom)">  
                    <DateInput LabelCssClass="radLabelCss_Vista" Skin="Vista" TabIndex="1" InvalidStyleDuration="100">  
                    </DateInput> 
                    <Calendar  
                        Skin="Vista">  
                    </Calendar> 
                    <DatePopupButton TabIndex="1" /> 
                </telerik:RadDatePicker> 
                
    
 
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="dpVisitDate" 
                    ErrorMessage="(*)" ValidationGroup="vgForm"></asp:RequiredFieldValidator></td>  
</tr> 

Anyone have any ideas?
Dimo
Telerik team
 answered on 09 Jul 2008
3 answers
114 views
eg:
Report 1        Name         Contact
              First       Last    Emal     Tel
             ***         ***    ***      ***

Report 2     Places                        Place Contact
              Home    Work          Cell     Argent      Phone
             ****         ***          ***        ***          ***
Now there are about 200 Reports, but displays only one choice made on the dropdown and other control....Even If I have 200 grids ..I don't know what exactly column is coming (dataset). Any better way on doing it beside custom radGrid? I have tried <CommandItem> and then added table , but it not what I want to achieve..

If the I have to implement Custom Radgrid what is the properties to override it?(I doubt  i can, but still)
 
thanks,
DIP
Anil
Top achievements
Rank 1
 answered on 09 Jul 2008
3 answers
155 views

hi,

          I am using a Docking controls, with div popup in it,the problem is that popup is not working while i am using updatepanel .when i remove the update panel ,popup works fine, but the page looks bad without the updatepanel.

is it possible to have popup's while utilizing updatepanel.

plz help me out.

regards
Navin
Sophy
Telerik team
 answered on 09 Jul 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?