Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
106 views
Hello!

Can You help me with this? How can I make RadGrid to allow deleting only first row in RadGrid (first is latest).

Thanks
Princy
Top achievements
Rank 2
 answered on 15 Jul 2008
1 answer
218 views
Is thrr a functionality by which a radwindow can saved as a pdf on a button click event(basically a save as button on the rad window so that users can save the page on their local m/c)???
Shaun Peet
Top achievements
Rank 2
 answered on 15 Jul 2008
4 answers
235 views
Hi All

I am using a Grid to shoe data and a Rad Window which i am using to the Edit Or insert new data.

Now when i click on Insert button RadWindow Appears and takes the input when i hit save. It does not refresh the Grid but comes up with the error message

"Sys.InvalidOperationException: Could not find UpdatePanel with ID
'ctl00_ContentPlaceHolder1_ctl00_ContentPlaceHolder1_rgrdTransactionPanel'. If it is being updated dynamically then it must be inside another UpdatePanel."


So the thing is i don;t have any panel with name rgrdTransactionPanel. and also i have three more grids on the same page which are similar to his one which takes different data inputs and they all are working fine.

Any ideas where i missing something.

Thanks in advance
Ricky
Ricky
Top achievements
Rank 2
 answered on 15 Jul 2008
2 answers
105 views
Hi all,

I have created a grid with a two-layer hierarchy. It uses arraylists with objects as the datasources. Everything is done in code-behind and sofar it works OK.

One thing I noticed is that when opening child-rows, the child-columns have a slightly different position (same order though) and width than the parent columns. Even when opening two child rows there are differences between the position and width of the columns in the two opened child rows.

Is there a way to make all columns have the same width other then using the itemstyle property?

Thanks,

Vincent.
Vincent
Top achievements
Rank 1
 answered on 14 Jul 2008
0 answers
214 views
Hi,
      Can anybody tell me whats wrong in the css below.It is not getting apllied on the tab strip

.RadTabStrip_Default
{
 font: 11px arial, tahoma, sans-serif;
}

.RadTabStrip_Default .rtsLI .rtsLink
{
 padding-left: 18px;
 background:transparent url('TabStrip/tabLeftFirstOff.gif') 0px 0px no-repeat;
 height: 22px;
 margin-right: 0px;
 margin-left: -2px;
 color: #666666;
 text-decoration:none;
}

.RadTabStrip_Default .rtsLI .rtsLast .rtsLink
.RadTabStrip_Default .rtsLI .rtsBreak .rtsLink
{

 margin-left: -2px;
       margin-right: 0px;
}

 

.RadTabStrip_Default .rtsLI .rtsLink .rtsOut
{
 padding-right: 18px;
 height: 22px;
 background:transparent url('TabStrip/tabRightLastOff.gif') right 0px no-repeat;
 margin-right: 0px;
 margin-left: -2px;

}

.RadTabStrip_Default .rtsLI .rtsLink:hover
{
 color: #666666;
}

.RadTabStrip_Default .rtsLI .rtsLink .rtsIn
{
 line-height: 22px;
 padding: 0px 6px;
 background:transparent url('TabStrip/tabStripeOff.gif') 0px 0px repeat-x;
 text-align: center;
 margin-right: 0px;
 margin-left: -2px;

 
}

.RadTabStrip_Default .rtsLI .rtsLink .rtsSelected
{
 padding-top: 0px;
 padding-left: 18px;
 background: transparent url('TabStrip/tabLeftFirstOn.gif') 0px 0px no-repeat;
 line-height: 28px;
        margin-right: 0px;
 margin-left: -2px;

}

.RadTabStrip_Default .rtsLI .rtsLink .rtsSelected .rtsOut
{
 background-image:url('TabStrip/tabRightLastOn.gif');
 line-height: 22px;
 padding-right: 18px;
 color: #666666;
 margin-right: 0px;
 margin-left: -2px;

}

.RadTabStrip_Default .rtsLI .rtsLink .rtsSelected .rtsOut
{
 background-image:url('TabStrip/tabStripeOn.gif');
 padding-top: 0px;
 margin-right: 0px;
 margin-left: 0px;

}

.RadTabStrip_Default .rtsLI .rtsLink .rtsDisabled,
.RadTabStrip_Default .rtsLI .rtsLink .rtsDisabled .rtsOut,
.RadTabStrip_Default .rtsLI .rtsLink .rtsDisabled .rtsIn,
{
 cursor: default;
 text-decoration: line-through;
}

/* scrolling arrows */

.RadTabStrip_Default .rtsPrevArrow
{
 background-image:url(TabStrip/ScrollLeft.gif);
 background-repeat: no-repeat;
 height: 11px;
 width: 8px;
}

.RadTabStrip_Default .rtsNextArrow
{
 background-image:url(TabStrip/ScrollRight.gif);
 background-repeat: no-repeat;
 height: 11px;
 width: 8px;
}

.RadTabStrip_Default .rtsPrevArrowDisabled
{
 background-image:url(TabStrip/ScrollLeftDisabled.gif);
 height: 11px;
 width: 8px;
 background-repeat: no-repeat;
}

.RadTabStrip_Default .rtsNextArrowDisabled
{
 background-image:url(TabStrip/ScrollRightDisabled.gif);
 height: 11px;
 width: 8px;
 background-repeat: no-repeat;
}
 
Thanks in Advance
Venkat

Venkateswarlu
Top achievements
Rank 1
 asked on 14 Jul 2008
8 answers
260 views
Hi there
I don't seem to get clientside stuff to work. What am I missing? (still running under trial)

Here is mu code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head runat="server"> 
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> 
    </telerik:RadScriptManager> 
    <div> 
        <telerik:RadComboBox ID="RadComboBox1" runat="server" DataSourceID="SqlDataSource1" 
            DataTextField="Text" DataValueField="Value" Skin="Vista"> 
            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
        </telerik:RadComboBox> 
         
        <script type="text/javascript" language="javascript" > 
        var combo = <%=RadComboBox1.ClientID %>; 
        var projectId = combo.GetText(); 
        alert(projectId); 
        </script> 
 
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RemoteSqlServerData %>" 
            SelectCommand="SELECT [value], [text] FROM [vProject]"></asp:SqlDataSource> 
 
    </div> 
    </form> 
</body> 
</html> 
 

It throws and error at combo.GetText();
Microsoft JScript runtime error: Object doesn't support this property or method

For the dynamixc content, it did resolve <%=...ClientId%>
        var combo = RadComboBox1;
        var projectId = combo.GetText();

when I do an alert(combo); it does return [object]..so I assume it worked correct up to here.

Oswaldo Huezo
Top achievements
Rank 1
 answered on 14 Jul 2008
0 answers
123 views
I have been trying to get the linqdatasource to properly render the tree control, but I am not getting any hierarchy.  I've searched through the forums and it seems there isn't a good way to use the linqdatasource due to it creating a flat dataset.  Has anyone come up with an easy solution for using LINQ (either linqdatasource or codebehind) to get the treeview to work properly?  I'd like to keep all of our queries going through our dbml if I can.

thanks
~Dave
David
Top achievements
Rank 1
 asked on 14 Jul 2008
5 answers
193 views
Hi,

When I set the Orientation="HorizontalTop" there is a 1 pixel gap between the bottom of the tabs and the top of the Multipage. Can you tell me how to get rid of this gap?

Regards,

Mark
Bob
Top achievements
Rank 1
 answered on 14 Jul 2008
0 answers
72 views
I'm haveing a few problems with the removeat method. It seems as though wheneve I try a RemoveAt with any radpanelitem all the other items inner controls which are checkboxes are dumped not on the first postback but the second. This is very simple code is there a bug with the panel RemoveAt?
pmessina
Top achievements
Rank 1
 asked on 14 Jul 2008
1 answer
134 views
I have a number of rad docks on a portal page, each of the docks contain a WebUserControl. Each of these controls are configurable by the end user.

one example is a user adds a rss feed control and they then choose the geographical location of the news they want the feed to show. The user can add multiple rss feed control to the portal page each with different settings. I need a way if capturing the uniqueid of each control so I can retrieve the correct configurations setting form the database.

any examples n vb.net please

thanks
Kevin Babcock
Top achievements
Rank 1
 answered on 14 Jul 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?