Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
283 views
Hi Telerik Team,

How to select maintab and maintabpage from Child page.

For Example:
I am having MainContentPage.aspx page inside this i have my Tabstrip and MultiPage hierarchy as mentioned below.

<

telerik:RadTabStrip ID="RadToolTabs" SelectedIndex="0" runat="server" MultiPageID="radMultiPage">

     <Tabs>

         <telerik:RadTab runat="server" Text="Products " SelectedIndex="0">

             <Tabs>

                 <telerik:RadTab Text=" Lux " SelectedIndex="0"></telerik:RadTab>

                 <telerik:RadTab Text=" Santoor "></telerik:RadTab>

             </Tabs>

         </telerik:RadTab>

         <telerik:RadTab runat="server" Text=" ProductPrice " >
        </telerik:RadTab>

     </Tabs>

 </telerik:RadTabStrip>

 <telerik:RadMultiPage runat="server" SelectedIndex="0" ID="radMultiPage">

     <telerik:RadPageView ID="RadPageView1" runat="server" Height="500px" ContentUrl="Products.aspx"></telerik:RadPageView>

     <telerik:RadPageView ID="RadPageView2" runat="server" Height="500px" ContentUrl="Lux.aspx"></telerik:RadPageView>

     <telerik:RadPageView ID="RadPageView3" runat="server" Height="500px" ContentUrl="Santoor.aspx"></telerik:RadPageView>

     <telerik:RadPageView ID="RadPageView4" runat="server" Height="500px" ContentUrl="ProductPrice.aspx"></telerik:RadPageView>

 </telerik:RadMultiPage>

  

When MainContentPage.aspx page loads, By default the Products tab, Lux tab Selected and Lux.aspx page loaded.
and i am having GoProdcutPrice button in my Lux.aspx Page(Childtab page) , When i click on this button i have to select ProductPrice.aspx page and ProductPrice tab.

How can i achieve this scenario?

Thanks
Shaik Nazeer Hussain

nazeer
Top achievements
Rank 1
 answered on 24 Feb 2012
4 answers
120 views
Hi,
I have quite an intensive database query returning a dataset to a radGrid in the needdatasource.  Depending on what the user selects it could take some time.  Rather than have the previous page continue to try and load and the finally display the page i would like to display the page and have a loading panel inside the radgrid to symbolize its still loading data from the back end.

I have tried many solutions found on this site but with no luck.

Using the ajaxmanager and making a call to the code behind doesn't display the loading panel for long enough it just appears then disappears instantly (setting a minimum time shows it for longer but this wont disappear when the datas loaded).

Also, the below doesn't seem to do as i need it still just waits for ages between loading the page.
<telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
   <AjaxSettings>
       <telerik:AjaxSetting AjaxControlID="rgComparison">
           <UpdatedControls>
               <telerik:AjaxUpdatedControl ControlID="rgComparison" LoadingPanelID="RadAjaxLoadingPanel1" />
           </UpdatedControls>
       </telerik:AjaxSetting>
   </AjaxSettings>
   </telerik:RadAjaxManager>
 
       <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

Help!

Thanks,
Michael
Maria Ilieva
Telerik team
 answered on 24 Feb 2012
1 answer
135 views
Hi,

I have RadGrid with automatic Insert/Update. Everything is working just fine, the problems start occurring, when I try to save html document using the textbox, giving me "server error".  See below my asp markup and the doc I try to save.

Thanks,
Yuriy



<telerik:RadGrid ID="RadGrid2" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
                    AllowAutomaticUpdates="True" AutoGenerateColumns="False" CellSpacing="0" DataSourceID="ServiceType"
                    GridLines="None" ShowStatusBar="True" AllowPaging="True">
                    <PagerStyle AlwaysVisible="true" Mode="NumericPages" />
                    <ClientSettings>
                        <DataBinding>
                            <DataService Type="OData" />
                        </DataBinding>
                        <Selecting AllowRowSelect="True" />
                    </ClientSettings>
                    <MasterTableView CommandItemDisplay="Top" DataKeyNames="ServiceTypeID"
                        DataSourceID="ServiceType" Width="100%" Name="ServiceType"
                        AllowPaging="False">
                        <DetailTables>
..................
 <telerik:GridTemplateColumn DataField="MaterialDescription" FilterControlAltText="Filter MaterialDescription column"
                                                        HeaderText="Description" UniqueName="ChildMaterialDescription">
                                                        <EditItemTemplate>
                                                            <asp:TextBox ID="MaterialDescriptionTextBox" runat="server" Text='<%# Bind("MaterialDescription") %>'
                                                                Height="100px" TextMode="MultiLine" Width="300px" Wrap="True"></asp:TextBox>
                                                        </EditItemTemplate>
                                                        <ItemTemplate>
                                                            <asp:Label ID="MaterialDescriptionLabel" runat="server" Text='<%# Eval("MaterialDescription") %>'></asp:Label>
                                                        </ItemTemplate>
.........................
  
 <asp:SqlDataSource ID="ChildMaterialItems" runat="server" ConnectionString="<%$ ConnectionStrings:KPortal %>"
         
    SelectCommand="SELECT Materials.ParentMaterialID, Materials.MaterialID, Materials.MaterialDescription, Materials.MaterialName, Materials.MaterialPictureID, MaterialPictures.PictureCategory + ' - ' + MaterialPictures.PictureDescription AS PictureDescription, Materials.PricedItem, Materials.MaterialCategoryID, Materials.OrderID, Materials.Value, Materials.UnitID, Materials.InternalCode, Materials.UnitType FROM Materials INNER JOIN MaterialPictures ON Materials.MaterialPictureID = MaterialPictures.MaterialPictureID WHERE (Materials.ParentMaterialID = @ParentMaterialID)
order by Materials.OrderID" DeleteCommand="Exec DeleteMaterials @MaterialID"
        InsertCommand="Exec InsertMaterial
@MaterialDescription=@MaterialDescription,
@MaterialPictureID = @MaterialPictureID,
@ParentMaterialID = @ParentMaterialID,
@MaterialName = @MaterialName,
@PricedItem = @PricedItem,
@InternalCode = @InternalCode ,
@Value = @Value,
@UnitType = @UnitType,
@UnitID = @UnitID,
@OrderID = @OrderID"
        UpdateCommand="
Update Materials
Set
MaterialDescription = @MaterialDescription,
MaterialPictureID = @MaterialPictureID,
MaterialName = @MaterialName,
PricedItem = @PricedItem,
InternalCode = @InternalCode,
Value = @Value,
UnitType = @UnitType,
UnitID = @UnitID,
OrderID = @OrderID
Where MaterialID =@MaterialID
">
        <DeleteParameters>
            <asp:Parameter Name="MaterialID" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="MaterialDescription" />
            <asp:Parameter Name="MaterialPictureID" />
            <asp:Parameter Name="ParentMaterialID" />
            <asp:Parameter Name="MaterialName" />
            <asp:Parameter Name="PricedItem" />
            <asp:Parameter Name="InternalCode" />
            <asp:Parameter Name="Value" />
            <asp:Parameter Name="UnitType" />
            <asp:Parameter Name="UnitID" />
            <asp:Parameter Name="OrderID" />
        </InsertParameters>
        <SelectParameters>
            <asp:ControlParameter ControlID="RadGrid2" Name="ParentMaterialID"
                PropertyName="SelectedValue" />
        </SelectParameters>
        <UpdateParameters>
            <asp:Parameter Name="MaterialDescription" />
            <asp:Parameter Name="MaterialPictureID" />
            <asp:Parameter Name="MaterialName" />
            <asp:Parameter Name="PricedItem" />
            <asp:Parameter Name="InternalCode" />
            <asp:Parameter Name="Value" />
            <asp:Parameter Name="UnitType" />
            <asp:Parameter Name="UnitID" />
            <asp:Parameter Name="OrderID" />
            <asp:Parameter Name="MaterialID" />
        </UpdateParameters>
    </asp:SqlDataSource>

 
I am trying to save in the column above the following text:
 
<body>
  
    <p style="text-align: left">
        <img alt="Priceology"  src="{WebSiteAddress}/Pics/Pricology640.jpg" /></p>
        <div>
          
            Dear {CompanyUserName},<br />
            <br />
            Please be advised that there is an update to {Service} project that you are
            working on.<br />
            <br />
            The status of the <b>"{ProjectName}"</b> project have been updated to
            <b>"{ProjectStatus}"</b>.
            <br />
            <br />
            Please visit the link below to see the details:e the details:<br />
            <br />
             <a href="{ManufacturerProjectLink}">Priceolgy projects</a><br />
            <br />
            Regards,<br />
            Priceology Team</div>
</body>
</html>
Iana Tsolova
Telerik team
 answered on 24 Feb 2012
1 answer
96 views
Hello,

I would like to implement more lighter dragging for RadWindow like here
http://yuilibrary.com/yui/docs/dd/proxy-drag.html
Does Telerik have any support for this?
Are there any tips on how to make dragging less heavier operation with regard to RadWindow and RadWindowManager configuration?
I also understand that dragging speed depends on RadWindow content, but unfortunately it is not the case when we can make it less.

Thank you.
Svetlina Anati
Telerik team
 answered on 24 Feb 2012
12 answers
176 views
I just want to print the content in the radpane. I tried options provided in other thread but getting error. There are links in those threads which are erroring out. I like know the right way/ right javascript code to do print with any scripts which needed to be included to get it working.

Below is my code
<script type="text/javascript">
    function PrintPane(paneID)
    {
      var splitter = <%= RadSplitter1.ClientID %>;
      alert(paneID);
      var pane = splitter.GetPaneById(paneID);
      if (!pane) return;
      pane.Print();
    }
</script>
Dobromir
Telerik team
 answered on 24 Feb 2012
0 answers
147 views
Hi,

I am using RadGrid for Master with RadContextMenu. Using Context menu I just open new page having another RadGrid. I just do some updates using Item Command and when I close the Rad Grid did some updates in the Master table also but the Master table Rad Grid not Refresh.

Any work around I need to do...?
Any one pls help me on this.



Regards,
Raja M
Raja M
Top achievements
Rank 1
 asked on 24 Feb 2012
1 answer
75 views
Hi,
 I need to catch the submit event in order to show a user lock layer to avoid multiple user click.
 I tried different way, submit direct event, and in the last (in the hope was the right way) this:

In page.cs :
 protected override void OnLoad(EventArgs e) {
            base.OnLoad(e);
            ScriptManager.RegisterOnSubmitStatement(Page, Page.GetType(), "myPostbackHandler", "myPostbackHandler()");
        }
In page.aspx :
<script language="javascript" type="text/javascript">
        function myPostbackHandler() {
            ... code to show a layer, etc...
        }

In every way I did,  when an ajax call occurs like  mouse over a rad:tooltip control,  
the function myPostbackHandler or submit event is always call.

Is there a way to distinct these DIFFERENT (ajax call, real submit) action on client side  ?

Thanks a lot. 
Tsvetina
Telerik team
 answered on 24 Feb 2012
4 answers
155 views
hi

I am using the default advanced Insert form and i have 2 custom attributes. Hyperlink and Color

I would like to add a radcolorpicker to the Color attribute. How should i go about it?

I have attach a screenshot for you reference. Thanks
Ivana
Telerik team
 answered on 24 Feb 2012
3 answers
142 views
Hi. I'm trying to filter my grid with a combobox but I don't succeed (sorry but the documentation really sux!)

Here's what I'm trying to <telerik:RadGrid AutoGenerateColumns="false" ID="RadGrid1" OnNeedDataSource="NeedDataSourceClient">
  <MasterTableView AllowFilteringByColumn="True" AutoGenerateColumns="false"
<telerik:GridTemplateColumn DataField=country_Id" UniqueName="country_Id SortExpression=country_Id AutoPostBackOnFilter="true">
<FilterTemplate>
<telerik:RadComboBox ID="rcbCountries" runat="server"> </telerik:RadComboBox>
<FilterTemplate>
<ItemTemplate><%# global.GetCountry(DataBinder.Eval(Container, "DataItem.country_Id))%>
</ItemTemplate>
</telerik:GridTemplateColumn
</MasterTableView
</telerik:RadGrid>    


 

How can I do that?

My first issue is to fill my combobox, how can I do that with linq? (which is not explain here:http://www.telerik.com/help/aspnet-ajax/combobox-data-binding-data-source.html as it said in the summary)
Antonio Stoilkov
Telerik team
 answered on 24 Feb 2012
1 answer
62 views
Hi,

Currently we are working with dashboard application and it displays mutiple jquery windows, each of the windows shows either chart or Grid(radgrid). While user closes the dashlet (jquery window), we will adjust the height /width of the other active dashlets.

issue we are facing is, while resizing the height of the grid, if grid contains less number of rows, botttom of the grid show grey colored area which appeared to be ugly(please refer the attached screen shot). Can you please guide me to solve this issue ?

Thanks
Venkat
Pavlina
Telerik team
 answered on 24 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?