Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
119 views
I have got ExportToCSV working, but it exports the whole grid.

Is it possible to export the selected row only?  If so, how?

Cheers.
John Fussell
Top achievements
Rank 1
 answered on 29 Sep 2008
1 answer
83 views
On the right side of the Document Manage there is a box with the title of Document Properties. This title only appears if you are using the Default skin. I have tried Web20, WebBlue, Telerik and Office2007 and in all of them the Document Properties title does not appear. It looks like it is cut off by something. I do have screenshots of this, but was not able to attach them to the thread.
Rumen
Telerik team
 answered on 29 Sep 2008
6 answers
237 views
I'm using the Q1 2008 version of the RADGrid and RADAjaxLoadingPanel.

I've added a RadAjaxManager and assigned a loading panel to the grid.

It dims and centers horizontally inside the grid but how do I get it to center veritically within the grid?




Lucas County Information Services
Top achievements
Rank 1
 answered on 29 Sep 2008
2 answers
135 views
Hi

We have a page using a Prometheus RadAjaxManager control. In simple terms it looks like this:

<RadAjaxManager> 
    <AjaxSettings> 
        <AjaxSetting AjaxControlID="controlOne"
            <UpdatedControls> 
                <AjaxUpdatedControl ControlID="controlOne" /> 
                <AjaxUpdatedControl ControlID="controlTwo" /> 
            </UpdatedControls> 
        </AjaxSetting> 
        <AjaxSetting AjaxControlID="controlTwo"
            <UpdatedControls> 
                <AjaxUpdatedControl ControlID="controlOne" /> 
                <AjaxUpdatedControl ControlID="controlTwo" /> 
            </UpdatedControls> 
        </AjaxSetting> 
        <AjaxSetting AjaxControlID="controlThree"
            <UpdatedControls> 
                <AjaxUpdatedControl ControlID="controlThree" /> 
            </UpdatedControls> 
        </AjaxSetting> 
    </AjaxSettings> 
</RadAjaxManager> 

At certain times controlOne and controlTwo may be hidden and only controlThree shown. However when controlThree makes a callback we get the following JS alert message:

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

Any advice appreciated, thanks.

Andrew
Dave Miller
Top achievements
Rank 2
 answered on 29 Sep 2008
1 answer
141 views

I have a webpage with a RadTreeView inside an RadAjaxPanel, and it has a contextmenu. In this contextMenu, there is an item called "EDIT ITEM", that opens a RadWindow where I can edit something.

On my webpage I also have and RadAjaxmanager.

When I return from the RadWindow, I want to update the RadTreeView inside the RadAjaxPanel.

I have this code in the ASPX-page:
<telerik:RadCodeBlock ID="cb1" runat="server">
<
script type="text/javascript">
function
pageReturning(arguments)
{
var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
ajaxManager.ajaxRequest(
"VisDet");
}
</script>
</
telerik:RadCodeBlock>

In the code behind  I have a method that is called, and that is working, because I have tried to add an Response.Redirect, and the method is called. But when I (inside that method) tries to update the radTreeView, then nothing happens.

Please help. I am getting frustrated, and I have use almost 2-3 days on that problem.

Søren

Maria Ilieva
Telerik team
 answered on 29 Sep 2008
1 answer
101 views
Is there a document anywhere that explains in detail exactly what services are expected from a component used as a DataSource?  The question arises because there are always issues in working with DataSets, IEnumerable<T> collections don't provide enough info, and I'm not sure what might be required of DataTables/DataViews. Some data sources are simply better than others, so we're considering creating a new ObjectDataSource, maybe deriving from the powerful ExtendedDataSource from Manuel Abadia. The goal is to get the best design-time experience possible by giving the RadControls designer components everything they can use.

The following questions are mostly variations on the same concept.  Feel free to post one response to combine some concepts:

- What happens when we we request a schema refresh of a data source, whether DataSet, DataTable, DataView, SqlDataSource, ObjectDataSource, etc.?
- When a GridTableView, master or detail, make a request for schema to a data source, what information is sent to the source?  For example, is there a "SchemaOnly" flag to differentiate the request from a data request?
- Is a request made of the data source for a row set of zero rows, just to get the schema?
- Certain values are required to make the best use of the designers, like field name and data type.  What else is required?  With an object data source we can't always bind the data source itself to fields, like a SqlDataSource for example.  I'm wondering exactly what it is that the RadGrid would extract from a SqlDataSource that we need to provide elsewhere?

Of course declarative definition of control details is preferred because it's easy, but rather than trying to get the designer to be so friendly, do more advanced developers switch to defining GridTableViews and other components in Page_Load, NeedDataSource, etc?

Rather than relying on a single data source at design-time, I know we can change the datasource at run-time in the DetailTableDataBind event.  And since we can't "mix" column definitions defined at run-time with those defined at design-time, we really need to do this one way or the other.  Are there any comments about "one you get away from declarative code you'll never go back", or "once you've tried doing this manually you'll want to stick with declarative"?

I'm just looking for the best approach to Rapid Application Development (Rad tools, right? ;) ), and I don't care if it means beefing up design-time components, or going in the other direction and using the designer purely for look and feel and leaving all schema/data access to code.

Thanks for your time!
Rosen
Telerik team
 answered on 29 Sep 2008
2 answers
96 views
Hi there

I have a problem, I have a RadGrid with autogeneration columns.

But no matter what i do, it completly ignores the with i am setting.

I have tried, to set it directly on on RadGrid control, on the <td> it is in, on a <div> i put outside the RadGrid, even on the table, or the main table of the website.

It simply ignores it, how can i restrict the width ?
It completly ruins the webdesign by ignoring it.

The problem is in both Internet Explorer 7, and Firefox 3.0.3.

Best regards
Søren Reinke
Søren
Top achievements
Rank 1
 answered on 29 Sep 2008
10 answers
202 views
Hi, I just started using Rad Calendar control...$0$0$0$0Now, I have got a requirement..$0$0-> I have two calendar controls on my page... "Start Date", "End Date" inside my UserControl$0$0-> I already tried as mentioned in this article, http://demos.telerik.com/aspnet/Calendar/Examples/DatePicker/ClientSideEvents/DefaultCS.aspx, where i tried to get Javascript Object for the calendar control by writing var objMyControl  = <% = MyRadPicker.ClientID %>; (this is what they have said in the tutorial; AND I REALLY DOUBT THAT IF ANYTHING LIKE THIS CAN WORK ATALL!!!! , If I see my code behind, I see the line rendered as, var objMyControl=ctrl001_MySearchControl_RadControl, and I get Javascript exception that ctrl001_MySearchControl_RadControl is undefined)$0$0-> If also tried, var objMyControl = document.GetElementById("<%=MyRadPicker.ClientID%>"), but that was returning just "HTMLInput Control" and not the actual object...$0$0-> For me, this is very basic and primary functionality, which everybody needs... and I think, it should be defenetly have been addressed....$0$0-> Appreciate your help$0
Falgun
Top achievements
Rank 1
 answered on 29 Sep 2008
3 answers
178 views
Isn’t it possible to disable scroll on the treeview. I like to expand vertical and move the other elements on the side. On the horizontal I like to set a width and the values in the node shall break if they are too long.
Atanas Korchev
Telerik team
 answered on 29 Sep 2008
1 answer
91 views
Hi I have migrated my code to the latest version of Telerik i.e. Q2 2008. But I am facing a problem with RadGrid migration like say i am using a custom skin and expand/collapse images are not visisble in IE (Version 6) though they are working fine in FireFox. I am using the following css

.RadGrid_NewGrid

{

background: #005596;

border-top: 1px solid #000000;

border-bottom: 1px solid #000000;

color: Black;

font: normal 11px Arial, Verdana, Sans-serif;

text-align: left;

cursor: default;

}

.RadGrid_NewGrid

th,

.RadGrid_NewGrid

th a

{

font:bold 11px tahoma,sans-serif;

color:#000;

}

.RadGrid_NewGrid

,

.RadGrid_NewGrid

a

{

font:11px tahoma,sans-serif;

color:#000;

}

.MasterTable_NewGrid

{

border:0px !important;

/*-moz-user-select: none;*/ /*disables text selecting in Firefox to combat unpleasant visual appearance*/

}

.GridHeader_NewGrid

{

border-left: solid 1px #000000;

border-right: solid 1px #000000;

border-bottom: 1px solid #000000;

color: Black;

height: 34px;

background-color: #005596;

}

.GridHeader_NewGrid

a

{

/*background-color: #005596;*/

}

.GridLines_NewGrid

td

{

color:Black;

/*background: #005596;*/

}

.GridRow_NewGrid

{

background-color: #f3f0eb;

height: 20px;

color:Black;

border:none;

}

.GridRow_NewGrid

td

{

color:Black;

border:none;

}

 

 

 

.GridAltRow_NewGrid

{

background-color: #cdc6bc;

height: 20px;

color:Black;

border:none;

}

.GridAltRow_NewGrid

td

{

color:Black;

border:none;

}

.GridPager_NewGrid

{

background: #7D6A55;

color: black;

height: 17px;

}

.GridPager_NewGrid

td

{

border-left: solid 1px #000000;

border-right: solid 1px #000000;

color: black;

padding-left: 11px;

}

.GridPager_NewGrid

a

{

color: black;

font-weight: bolder;

}

 

.GridHeader_NewGrid

img

{

vertical-align: middle;

}

td.GridHeader_NewGrid

input

{

width: auto;

float: left;

border: solid 1px #666;

border-top: solid 1px #000000;

border-left: solid 1px #000000;

border-right: solid 1px #000000;

border-bottom: solid 1px #000000;

background: #fafafa;

font: bold 10px Verdana, Arial, Sans-serif;

color:black;

height: 14px;

vertical-align: middle;

}

/* grouping button */

.GroupPanelItems_NewGrid

{

background: #cdc6bc;

color: black;

border: solid 1px #000000;

border-top: solid 1px #000000;

border-left: solid 1px #000000;

border-right: solid 1px #000000;

border-bottom: solid 1px #000000;

white-space: nowrap;

font-size: 11px;

}

tr.GroupHeader_NewGrid

{

background: #7D6A55;

color: white;

font-size:8pt;

font-weight: bold;

height: 20px;

border-left: solid 1px #000000;

border-right: solid 1px #000000;

}

.GroupPanel_NewGrid

{

height: 20px;

width: 100%;

text-align: left;

background: #cdc6bc;

border-bottom: 1px solid #000000;

border-top: solid 1px #000000;

border-left: solid 1px #000000;

border-right: solid 1px #000000;

border-collapse: collapse;

}

.GroupPanel_NewGrid

td

{

color:#000;

}

.RadGrid_NewGrid

.rgCollapse

{

background-image:url('Grid/SingleMinus.gif');

}

.RadGrid_NewGrid

.rgExpand

{

background-image:url('Grid/SinglePlus.gif');

}


Please let me know if I am missing out anything.

Dimo
Telerik team
 answered on 29 Sep 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?