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

I have window that is opened by javascript and has autosize set to true.

<script type="text/javascript">
        function showWindow(url) { 
            var oWnd = $find("<%=RadWindowRegion.ClientID%>"); 
            oWnd.setUrl(url); 
            oWnd.show(); 
        
</script>

<

 

telerik:RadWindow ID="RadWindowRegion"

 

 

runat="server" style="z-index:10000;"

 

 

Behavior="Resize, Close, Move" Modal="True" VisibleStatusbar="False"

 

 

AutoSize="True" Overlay="True">

 

 

</telerik:RadWindow>

 



This works fine in IE8, Firefox 3, Safari 5, Chrome etc, but has a height of zero in IE7 .  If I drag the bottom of the window frame,
it displays the content as it should. Can you suggest a fix/workaround for the dreaded IE7?

Thanks

Clive



Georgi Tunev
Telerik team
 answered on 25 Aug 2010
2 answers
297 views
I am using the following click event to fire the NeedDataSource Event handler:

 

protected void btnRecord_Click(object sender, EventArgs e)

 

{

RadGrid1.NeedDataSource+=

new GridNeedDataSourceEventHandler(RadGrid1_NeedDataSource);

 

 

 

}

and the method to bind the data is followed:


 

protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)

 

{

 

Contact curContact = new Contact();

 

curContact.ContactName = TextBox1.Text;

curContact.Title = TextBox2.Text;

curContact.Email = TextBox3.Text;

curContact.Phone = TextBox4.Text;

curContact.Fax = TextBox5.Text;

curContact.ContactType = Session[

"ContactType"].ToString();

 

 

 

DataTable dt = new DataTable();

 

dt.Columns.Add(

"ContactName");

 

dt.Columns.Add(

"Title");

 

dt.Columns.Add(

"Email");

 

dt.Columns.Add(

"Phone");

 

dt.Columns.Add(

"Fax");

 

dt.Columns.Add(

"ContactType");

 

dt.Rows.Add(curContact.ContactName, curContact.Title, curContact.Email, curContact.Phone, curContact.Fax,

curContact.ContactType);

RadGrid1.DataSource = dt;

 

}

But this does not seem to populate the radgrid. Am I missing anything? Any help will be appreciated.


Shamim
Top achievements
Rank 1
 answered on 25 Aug 2010
1 answer
353 views
I can't figure out how to export a document in landscape orientation.  Can someone help me please?


<
ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true"
                                                                        HideStructureColumns="true" Pdf-PageBottomMargin=".5" Pdf-PageTopMargin=".5"
                                                                        Pdf-PageLeftMargin=".5" Pdf-PageRightMargin=".5" Pdf-PaperSize="Legal">
                                                                    </ExportSettings>


Daniel
Telerik team
 answered on 25 Aug 2010
2 answers
177 views
Hello,

I have a webpage with 2 Radgrids on it. One is the master and the other the detail views.
When I click on a record on the master grid it displays all related records on the detail grid.
My question is:
When I add a new record to the detail view grid, the ID is not prepopulated for that record. Is there a way I can populate that ID field with the id from the selected record in the master grid?
For example if the master grid has customers and the details grid has orders. When I select customer 11 it shows all orders for that customer. But when I add a new order on the second grid, I would like to autopopulate the customer ID with the number 11.

Thanks in advance for any help with this.
Princy
Top achievements
Rank 2
 answered on 25 Aug 2010
1 answer
184 views
Hi,

I'm trying to change the filtervalue when a user performs a filter command on the grid.
Currently there's a column with a document ID. The documentID is normally an integer but we're formatting the ID as follows xxx.xxx.xxx.

So in the underlying datasource the column value is an integer but on OnItemDataBound I'm formatting this value to xxx.xxx.xxx
Now if the user enters a filter value like xxx.xxx.xxx, this doesn't work. I need to (I suppose) unformat the value.

What is the best place to do this?

Kind regards.
Shinu
Top achievements
Rank 2
 answered on 25 Aug 2010
2 answers
65 views
This is something I cannot explain because all my rad controls are using Office 2007 theme / Skin but only Panel bar showing different colors.

<telerik:RadPanelBar ID="RadPanelBar1" runat="server"  Height="300px" onitemclick="RadPanelBar1_ItemClick" Skin="Office2007"                 ValidationGroup="MenuOptions" Width="180px">

I am also sending jpeg to give you exact idea..

Regards
Aamir Ali Ansari
Top achievements
Rank 2
 answered on 25 Aug 2010
1 answer
65 views
Hi 
How can i store the selected items of a combobox in in variables or in session ?
Shinu
Top achievements
Rank 2
 answered on 25 Aug 2010
7 answers
204 views
Good day!
Please, can you tell me, if I use RadEditor as an html editor how can I set content for meta tags, meta keywords, etc?
lina fetisova
Top achievements
Rank 1
 answered on 25 Aug 2010
3 answers
135 views
We are having issues with the height of the 2 RadComboBoxes that are in the Filter Menu. Is there a way to set these to a specific height like 100px?
Thanks.
Rory
Top achievements
Rank 1
 answered on 24 Aug 2010
2 answers
95 views
Every time that I open up my Visual Studio 2005 I get a message thanking me for installing Telerik RadControls for ASP.net.  Is there any way of turning this off? 

Please see attached file for a screen shot of what I am getting.
Kurt Kluth
Top achievements
Rank 1
 answered on 24 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?