Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
353 views
Hi
Environment: RadControls for ASP.NET AJAX Q3 2009 / VS 2008 SP1/IE7/WINXP SP 2.

I am using this Telerik Link as a prototype for my Project:

 

http://demos.telerik.com/aspnet-ajax/spell/examples/programming/datagrid/defaultcs.aspx

Question is that: How do I use the image  ButtonType = "ImageButton"  for Spell Check in Rad Grid...

Attached are my screen shoots. I would like to see spell checker button type as (spellcheck.PNG),  but not like untitled-3 copy.jpg .  I can use the Image Button for regular text Box but did not find any thread for Grid Template Columns..

Thanks

Below is my Grid Declaration:

<telerik:RadGrid ID="RadGrid1">
''''
''''

 

 

 

 

<
asp:TemplateColumn HeaderText="Description">  
<ItemTemplate> 
<asp:Label ID="lblField1" CssClass="text" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ProductDescription") %>' /> 
</ItemTemplate> 
<EditItemTemplate> 
<asp:TextBox runat="server" ID="ProductDescription" TextMode="MultiLine" Rows="4" 
Columns="40" Text='<%# DataBinder.Eval(Container.DataItem, "ProductDescription") %>' /> 
<telerik:RadSpell ID="RadSpell1" runat="server" ControlToCheck="ProductDescription" /> 
</EditItemTemplate> 
</asp:TemplateColumn> 

''''
''''
</telerik:RadGrid>

 

 

 

 

 

 

Marin Bratanov
Telerik team
 answered on 19 Aug 2011
5 answers
438 views
I have a RadTabStrip that has to perform some server-side processing where a file streamed into a database and uploaded. I have this working successfully. 

When this processing completes I need to set focus on a different tab in the PageMultiPage and that new tab needs to requery the database and refresh its dislayed contents ... in essence a postback to query the database and display current values in a RadGrid. 

Is there a way to trigger this navigation and postback on the the new tab?  Is there a way to cause a postback when the user changes tabs?

If so, please list code example on how to do this.

Thanks.
 





Steve
Top achievements
Rank 1
 answered on 19 Aug 2011
2 answers
158 views
Hi

I am trying to call a RadWindow Alert from a RadGrid ItemCommand but get this exception

"Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object."

I am trying to test for some selected items within a sub-grid, so my code is:

public static void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
        {
            RadGrid RadGrid1 = (RadGrid)sender;
            if (e.CommandName == "AddToCart")
            {
                if (RadGrid1.SelectedIndexes.Count == 0)
                {
                    RadWindowManager1.RadAlert("No documents have been selected", 250, 100, "Add to Document Cart", "");
                    return;
                }
                GridCommandItem Item = (GridCommandItem)e.Item;
                ImageButton btnAddToCart = (ImageButton)e.Item.FindControl("btnAddSelectedToCart");
                ....
                ..... rest of code...
            }
}

This errors on the RadAlert line...
Any clues please.
Simon
Top achievements
Rank 1
 answered on 19 Aug 2011
1 answer
134 views
I need change somes style of RadFilter.
i added RadFilter.css in my project and the follow control_:
                   <telerik:RadFilter
                            ID="RadFilter3" runat="server"  
                            Culture="es-AR"  CssClass="RadFilter RadFilter_Default"
                            ExpressionPreviewPosition="Bottom" Skin="Vista">
                        <FieldEditors>
                            <telerik:RadFilterTextFieldEditor DisplayName="Fulltext" FieldName="1" />
                            <telerik:RadFilterTextFieldEditor DisplayName="Name" FieldName="2" />
                            <telerik:RadFilterTextFieldEditor DisplayName="Modified" FieldName="3" />
                        </FieldEditors>
                        </telerik:RadFilter>
    
Ths css is:
.RadFilter_Default,.RadFilter_Default .rfDiv{display:block}
.RadFilter_Default:after,.RadFilter_Default .rfDiv:after{content:"";display:block;height:0;visibility:hidden;}

.RadFilter_Default.rfField {
  display: block !important;
}

If I have in aspx:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
ths css doesnt work

But if i change it by this:
<!DOCTYPE html >

If works!

BUT I need use
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

How I can resolved this issue??

I attach imnage with DOCTYPE  and whitout DOCTYPE

I need RadFilter such as withoutDocType Image

Galin
Telerik team
 answered on 19 Aug 2011
2 answers
138 views
Hi,

I'm presently working on a application that use a radGrid with a Web User Control, so I used this demo to help me. I also want, in my Web User Control, to have a button that will make appears a window that will return a value that will fill a field (tbField) inside the Web User Control (like in this demo). So I tried it out, but I wasn't able to realise my scenario. Here is the problem : the javaScript code for calling the window and get back the value is write in the page that containt the radGrid. I'm able to get the value from the window, but I don't know how to set it to the field in the Web User Control (tbField). Here is my code in js function : 

// Function that is called from the window to "get back" the value and fill the field tbField
function test(args) {
    RadAjaxManager1.ajaxRequest(args);
}

So, how do I access the field in the Web User Control from code-behind. Guess it should be something like
"row that is edited".FindControl("tbField") as TextBox

 but I don't know how to get the edited row.
David
Top achievements
Rank 1
 answered on 19 Aug 2011
1 answer
180 views
I have a RadPanelBar bound to a datasource.  In the ItemTemplate I have checkboxlist bound to another datasource.  The select parameter for the datasource for the checkboxlist is the RadPanelItem's value.

This is probably very straight forward and would appreciate some help in accomplishing this.

Thanks
Sumith
Kate
Telerik team
 answered on 19 Aug 2011
1 answer
175 views
Hi,

We encounter a performance issue in IE 8 with RadComboBox for more than 2000 listitems
The performance degrades a lot and gives an error "Stop running this script? A script on this page causing IE to run slowly..."

My Radcombobox has below settings and bind dataset to this combo in page load event.

<

 

telerik:RadComboBox ID="ddlEmployee" runat="server" Width="190px" Height="100px"

 

 

EmptyMessage="Select employee " EnableLoadOnDemand="True" EnableVirtualScrolling="true"

 

 

OnItemsRequested="RadComboBox1_ItemsRequested" DataTextField="Name" DataValueField="EmpNo"

 

 

Skin="WindowsXP" OffsetX="2" AllowCustomText="True" EnableEmbeddedSkins="False"

 

 

EnableAjaxSkinRendering="False" EnableEmbeddedBaseStylesheet="False"

 

 

EnableItemCaching="True" ShowMoreResultsBox="True">

 

 

</telerik:RadComboBox>

Can someone help me how to improve the performance? 

Any suggestions would be appreciated.

Thanks & Regards,

Kiran 

Shinu
Top achievements
Rank 2
 answered on 19 Aug 2011
5 answers
230 views
I have been trying to get rid of the strange section under the titlebar without any luck.  Please see my attachment.  Someone did post a similar issue and the solution was within the css.   The following was the link I followed.

http://www.telerik.com/community/forums/aspnet-ajax/window/radwindow-with-transparent-title-bar.aspx


I didn't know exactly what was used for the gif file ( probably just a solid thick line).  I added the css lines (with the exception of the section that he was told to eliminate), but I still have that strange line there.  Could anyone offer any suggestions on how to get rid of this?  If the gif file is needed, could you tell me what the gif should look like.

Thanks,
Amy
Marin Bratanov
Telerik team
 answered on 19 Aug 2011
3 answers
91 views
RadWindow in screen are missing the window top bar with the close/maximize buttons.
The buttons are there as we can click by guessing their location - they are simply rendered as invisible

This occurs intermittently (on the same page) only for IE6 users.  We have tried removing any custom CSS, and getting spaces out of the header but did not fix the issue. Have you come across this before or found a solution?

Assembly used: 2011 Q1 315.40

similar issue:  http://www.telerik.com/community/forums/preview-thread/aspnet/window/missing-close-button.aspx

Please Help

Regards
Marin Bratanov
Telerik team
 answered on 19 Aug 2011
1 answer
98 views
All of a sudden I am seeing this error in my visual studio designer .Please see attched image for error.
Chavdar Dimitrov
Telerik team
 answered on 19 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?