Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
178 views
Hi,

I want to insert new rows into the radgrid, so that I can bind all the inserted rows finally and show the result into another radgrid below.

I want to implement functionality exactly as "Edit Query in TFS(Team foundation Server)". The inserted rows will always be in edit mode and when I click on some button, the final query will build and the result will be displayed into another grid view.

So please help.

Regards,
Ankit
Somnath
Top achievements
Rank 1
 answered on 05 Apr 2012
14 answers
396 views
Hi,
 I have created a recurring appointment, which has a custom attribute 'Status'.
Now I want to get a specific instance (through code) of this recurring appointment so that its indivdual status can be set to a value. This will allow me to set different status values for different instances for the same recurring appointmnet.
Please tell me how can we achieve this.

Thanks,
Abhishek
Peter
Telerik team
 answered on 05 Apr 2012
1 answer
250 views

i have a user control with rad tool bar button like this

<telerik:RadToolBar ID="RadToolBar1" Runat="server" 
EnableRoundedCorners="True" EnableShadows="True" Width="940px" 
onbuttonclick="RadToolBar1_ButtonClick" onunload="RadToolBar1_Disposed">
<Items>
<telerik:RadToolBarButton CommandName="btn" Text="Add" ImageUrl="../Images/Add.png" 
ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Update" ImageUrl="../Images/Edit.png" ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Delete" ImageUrl="../Images/Delete.png" 
ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Refresh" ImageUrl="../Images/Refresh.png" ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Print" ImageUrl="../Images/Print.png" 
ImagePosition="AboveText" Enabled="False" />
<telerik:RadToolBarButton Text="Close" ImageUrl="../Images/Close.png" 
ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Save As" ImageUrl="../Images/SaveAs.png" 
ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Itemtemplate">
<ItemTemplate>
<div id="loginAarea" style="margin-left:150px" >
<table style="margin-left: -50px;" >
<tr>
<td >
<telerik:RadTextBox ID="txtUserName" runat="server" Label="Added By" 
Width="240" Height="16" Enabled="false" Font-Bold="True" ></telerik:RadTextBox>
</td>
<td>
<telerik:RadTextBox ID="txtLastUserName" runat="server" 
Label="Last Updated By" Width="240" Height="16" Enabled="false" 
Font-Bold="True" ></telerik:RadTextBox>
</td>
</tr>
<tr>
<td>
<telerik:RadTextBox ID="txtLoginDate" runat="server" Label="Date:" 
Width="240" Height="16" Enabled="false" Font-Bold="True" ></telerik:RadTextBox>
</td>
<td>
<telerik:RadTextBox ID="txtLastLoginDate" runat="server" Label="Date:" 
Width="240" Height="16" Enabled="false" Font-Bold="True" ></telerik:RadTextBox>
</td>
</tr>
</table>
</div>
</ItemTemplate>
</telerik:RadToolBarButton>

</Items>
</telerik:RadToolBar>

i add the rad tool bar with place holder on content page like this

Page.LoadControl("MenuStyle1.ascx");
Spinner1 = (ASP.MenuStyle1)LoadControl("MenuStyle1.ascx");
RadToolBar tlbar = (RadToolBar)Spinner1.FindControl("RadToolBar1");
place.Controls.Add(tlbar);

<asp:PlaceHolder ID="place" runat="server"></asp:PlaceHolder>

now i want to access the radtoolbar using javascript how i do that

Princy
Top achievements
Rank 2
 answered on 05 Apr 2012
1 answer
138 views
Hi, I'm having issues applying a tooltip to a dynamic DOM element. Here is my scenario:

  1. Ajax request is made.
  2. Data received is then generated into new dom elements on my page.
  3. I attempt to apply a tooltip to one of those newly created dom elements, but I'm getting an empty tooltip.

Below is a basic example of how I am trying to apply the tooltip to my newly created elements. Again, all I get is an empty tooltip. Thanks for your help!

$("span.XYZ").each(function () {
     
    var tooltipManager = $find("ctl00_main_RadToolTipManager1");
 
    var tooltip = tooltipManager .getToolTipByElement(this);
 
    if (!tooltip) {
        tooltip = test.createToolTip(this);
        tooltip.set_contentElement("<span>abcd</span>");
        //tooltip.updateLocation();
    }
 
    //this.onmouseover = null;
});

Marin Bratanov
Telerik team
 answered on 05 Apr 2012
5 answers
237 views
Step to reproduce:
1. open radcolorpicker near to right bottom corner of window.
2. change(switch) palette
3. close colorpicker.
4. Open it again and you can see that color picker doesn't fit to window size.
Slav
Telerik team
 answered on 05 Apr 2012
16 answers
234 views
Hi !

How can I localize facebook button with the RadSocialShare ?

<telerik:RadSocialShare runat="server" ID="SocialShare" BorderStyle="None" UrlToShare="xxx" >
  <MainButtons>
    <telerik:RadFacebookButton ButtonType="FacebookLike" />
  </MainButtons>
</telerik:RadSocialShare>

It's always in en_US culture !

Thank's for help :)
Marin Bratanov
Telerik team
 answered on 05 Apr 2012
1 answer
106 views
Hi all:
I've just updated my web application (Q1 2010 RadControls) and all went well.  I wanted to utilize this feature (SocialShare), and it works great on most pages, but not on others.  Here's what I've done:
- add a radscriptmanager to my masterpage, and then also added the radsocialshare to the master page.  [works great]

Oddly, in one of my administration pages, I needed to delete a scriptmanager since I can only have 1 per page, which I now have in my master page.  I noticed that in this page (updates news using sqldatasource; pretty basic), the user can do a simple update on one table, which has been working fine for the past year.  Since adding the socialshare, it's not working; not even giving me an error though.  If I comment out the social share code, it works again!? 

Any help would be greatly appreciated!
Marin Bratanov
Telerik team
 answered on 05 Apr 2012
2 answers
117 views
I want to show the data in a RadChart.
The XAxis is in the range 2009/01/01~2009/05/01.
I want to show the data with the xonly scrollbar.In one page,the data of one day will be shown.
So i want the pages to be 120.
But maybe the max xscale is 20. I used 20 and 3000 to set the xscale.
But the result is the same.
Is the max scale 20?

Thanks.
Peshito
Telerik team
 answered on 05 Apr 2012
1 answer
155 views
Hi,
I have nested radrotator means rotator inside rotator "     

ASPX
  
<telerik:RadRotator runat="server" ID="RadRotator1" RotatorType="AutomaticAdvance"
            Skin="Web20" SlideShowAnimation-Type="Fade" ScrollDirection="Up" Width="800px"
            ItemWidth="700px" Height="900px" ItemHeight="300px" FrameDuration="2000" OnItemDataBound="RadRotator1_ItemDataBound">
            <ItemTemplate>
                <div class="outerDiv">
                    <asp:HiddenField runat="server" ID="hdnParentId" Value='<%# DataBinder.Eval(Container.DataItem, "ParentId")%>' />
                    <telerik:RadRotator runat="server" ID="RadRotator2" RotatorType="AutomaticAdvance"
                        Skin="Web20" ScrollDirection="Left" Width="300px" FrameDuration="200" ItemWidth="300px"
                        Height="250px" ItemHeight="250px" OnItemDataBound="RadRotator2_ItemDataBound">
                        <ItemTemplate>
                            <asp:Image ID="CustomerImage" CssClass="recipeImage" Width="300px" Height="250px"
                                runat="server" AlternateText="Recipe Image" ImageUrl='<%#Eval("Name_Image", "~/IMAGES/{0}.jpg")%>' />
                        </ItemTemplate>
                    </telerik:RadRotator>
                    <div class="detail">
                        <div class="recipeName">
                            <asp:Label ID="lblRecipeName" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"Menu_Compiler_Description")%>'></asp:Label>
                        </div>
                        <fieldset>
                            <legend>Recipe</legend>
                            <div class="recipe">
                                <%# DataBinder.Eval(Container.DataItem, "Recipe_Name")%>
                            </div>
                        </fieldset>
                    </div>
                </div>
            </ItemTemplate>
            <SlideShowAnimation Type="Fade"></SlideShowAnimation>
        </telerik:RadRotator>"


Code Behind

 protected void RadRotator1_ItemDataBound(object sender, RadRotatorEventArgs e)
        {
            HiddenField hdnParentId = (HiddenField)e.Item.FindControl("hdnParentId");
            Telerik.Web.UI.RadRotator RadRotator2 = (Telerik.Web.UI.RadRotator)e.Item.FindControl("RadRotator2");
            DataSet ds = new DataSet();
            SqlHelper objSQL = new SqlHelper();
            ds = objSQL.ExecuteDataset("Test_Menu_Details", hdnParentId.Value);
            if (ds.Tables.Count > 0)
            {
                RadRotator2.DataSource = ds.Tables[0];
                RadRotator2.DataBind();
            }
        }

When i am executing this,Parent radrotator working correctly.Child radrotator after showing first image its not showing working.When i look into the RadRotator2_ItemDataBound event its working correctly and i can see the image bindings.

Thanks
Slav
Telerik team
 answered on 05 Apr 2012
6 answers
350 views
Hi
I have a RadGrid with filter on two columns.When I click Filter Icon a context menu with the filter options opens up.But i do not wish to have this context menu.What I would like to have is , whenever I click on the icon the default "Contains" filter function should work without the opening of context menu.
I had gone through the demos on your website,it doesn't tell how to hide this context menu.

Please help.

Thanks
kdyeqb
Top achievements
Rank 1
 answered on 05 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?