Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
141 views
Hi

I am looking for a sample of how to code a Grid with 2 way binding with a dataset as datasource? And also :what is a Telerik alternative for using a ms asp.net DetailsView/FormView control to handle one record?

thanks

D


Princy
Top achievements
Rank 2
 answered on 21 Dec 2009
1 answer
183 views
Hi there,

I try to reference my radcombobox on code behind but it dosen't work and told me that it's null !!

Here my code,

Binding !!!

 

RadComboBox cbF1 = new RadComboBox();

 

cbF1.ID =

"cbF1";

 

 

cbF1.Style[

"Position"] = "Absolute"; cbF1.Style["Top"] = "180px"; cbF1.Style["Left"] = "180px"; cbF1.Width = 120;

 

 

cbF1.Skin =

"Simple";

 

 

 

cbF1.DataSource = ds.Tables[0]; cbF1.DataTextField =

"FTFIELDNAME"; cbF1.DataValueField = "FTTABLENAME"; cbF1.DataBind();

It's shown Correctly !! It's work !!
But when I wanna shake it out to get the value ...

 

 

 

RadComboBox 

 

rcbF = Panel2.FindControl("cbF1") as RadComboBox;

Show me !!
"rcbF = null"

Anyone please help me !!

Thannapan. 

 

 

 

 

 

 

 

Shinu
Top achievements
Rank 2
 answered on 21 Dec 2009
2 answers
196 views
THis might be an odd question.  I have a grid that I want to hide the Active column on the grid.  The grid has editmode of InPlace.  When the user either adds new or edits the record I want to display more columns.  Is this possible?
Princy
Top achievements
Rank 2
 answered on 21 Dec 2009
1 answer
81 views
Hi all-
Downloaded the free trial verison of the Telerik ASp.NET AJAX controls. I was looking at Menu and wanted to build a navigation menu similar to what we see on home page for Telerik when you click PRODUCTS. There is a drop down and a fly out menu looks like a panel with divider(s). Is that available to us?
Thanks
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 21 Dec 2009
2 answers
111 views
Hi There,

I have a square matrix of size 64. When I try to edit values appears the error message attached. Is there a limitation of columns for editing in RadGrid ?
I'm using the new Q3 2009.

Thanks.

Marcio Nascimento
Marcio Nascimento
Top achievements
Rank 1
 answered on 21 Dec 2009
2 answers
97 views
Hi There,

I have a square matrix of size 64 on RadGrid. When I try to edit values appears the error message attached. Is there a limitation of columns for editing in RadGrid ?
I'm using the new Q3 2009.

Thanks.

Marcio Nascimento
Marcio Nascimento
Top achievements
Rank 1
 answered on 21 Dec 2009
3 answers
185 views
I am trying to create raddock's dynamically. The code I am using is the code from sample "Dock/ Dynamically Created Docks," sub "CreateRadDock," except that I do not want the raddock's default commands. I also do not want a postback. This is the code:

Private Function CreateRadDock() As RadDock

        Dim docksCount As Integer = CurrentDockStates.Count
        Dim dock As New RadDock()

        dock.DockMode = DockMode.Docked
        dock.DefaultCommands = Telerik.Web.UI.Dock.DefaultCommands.None
        dock.AutoPostBack = False
        dock.UniqueName = Guid.NewGuid().ToString()
        dock.ID = String.Format("RadDock{0}", dock.UniqueName)
        dock.Title = "Dock"
        dock.Width = Unit.Pixel(300)

        Return dock
 End Function


The problem is that, even though I have "AutoPostBack = False," it still does a post back during drag, or if I simply click on any of the dynamic RadDocks. Am I missing something?

Thanks,

Ivan



Gido Geek
Top achievements
Rank 2
 answered on 20 Dec 2009
6 answers
198 views
I'm trying to achieve a very simple layout with a header on the top of the page and a splitter with 3 columns below. I've attached sample code below.

It lays out fine in Firefox...initially, but scrollbars appear when I resize the window.

In IE I always get scrollbars, though if I remove the 3 border properties on the outer splitter I don't get them initially, but do get them when I resize the window.

I'd like to also add a 1-pixel border along the top of the lower section, but when I add a border-top to either the bottom pane or the bottom splitter, the scrollbar problem gets worse.

 

<%

@ Page Language="C#" AutoEventWireup="true" %>

<%

@ 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 id="Head1" runat="server">

 

<title>Test</title>

<style>

 

.header

 

{

background-color: green;

}

</style>

</

head>

<

body>

 

<form id="Form1" method="post" runat="server">

 

<asp:ScriptManager ID="ScriptManager1" runat="server" />

 

<telerik:RadSplitter id="topBottomSplitter" runat="server" Orientation="Horizontal" BorderStyle="None" BorderWidth="0"

BorderSize="0" FullScreenMode="true">

 

<telerik:RadPane id="topPane" CssClass="header" runat="server" Height="50px">

 

Header

</telerik:RadPane>

 

<telerik:RadPane id="bottomPane" runat="server">

 

<telerik:RadSplitter id="bottomSplitter" runat="server" Width="100%">

 

<telerik:RadPane id="BottomLeft" runat="server">

 

Left

</telerik:RadPane>

 

<telerik:RadSplitBar id="SplitterBarLeft" runat="server" collapsemode="Forward" />

 

<telerik:RadPane id="BottomCenter" runat="server" Width="50%">

 

Middle

</telerik:RadPane>

 

<telerik:RadSplitBar id="SplitterBarRight" runat="server" collapsemode="Backward" />

 

<telerik:RadPane id="BottomRight" runat="server">

 

Right

</telerik:RadPane>

 

</telerik:RadSplitter>

 

</telerik:RadPane>

 

</telerik:RadSplitter>

 

</form>

 

</

body>

</

html>


Malinda
Top achievements
Rank 1
 answered on 20 Dec 2009
2 answers
339 views
Hi
I am having trouble getting this to close the window after a time delay, from within the window content.
Can't see what i am doing wrong. Can anyone help?
Thanks
Clive
<head runat="server">  
    <title>Untitled Page</title> 
<script type="text/javascript">  
function closeWindow()     
{     
    var oWindow = GetRadWindow();     
    oWindow.close();     
}     
function GetRadWindow()        
{     
  var oWindow = null;     
  if (window.radWindow)     
     oWindow = window.radWindow;     
  else if (window.frameElement.radWindow)     
     oWindow = window.frameElement.radWindow;     
  return oWindow;     
}       
</script>    
 
</head> 
<body onload="setTimeout(closeWindow(), 3000);">  
    <form id="form1" runat="server">  
    <div> 
      
        Close this window after downloading your file if it does not close automatically</div> 
    </form> 
Clive Hoggar
Top achievements
Rank 1
 answered on 19 Dec 2009
1 answer
127 views

I have a page with Captcha and with RadAjaxManager that updates some content (comboboxes) on the page.

When I open the page, select comboboxes (that make partial postback) and then enter correct code (I'm 100% sure) then I get the wrong code message. When I reenter code, it works. 

It happens every time I open that page. Maybe when combobox get selected and ajax request is done, the captcha image is no longer up to date and that's why I got the error. Is there any solution to that?

Pero
Telerik team
 answered on 19 Dec 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?