Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
49 views
Hi,

I couldn't find any info on site about policy for localization component suites. Is Telerik has any effort to localize suites to a language other then English or is there any community effort? At code library, I found so called "Localization Providers" for winforms and some resx files for asp.net but I don't want to believe that this is all we have. Is anyone knows some kind of browsable repository or organized effort for localization files?

Thanks,
Enver
Ivo
Telerik team
 answered on 25 Sep 2009
1 answer
117 views
Hello,

We have a ASP.NET Application using Telerik Ajax components. Everything works fine in our own SharePoint Farm with one Web Front-End but when testing same Application in user's environment where a Farm has multiple Web Front-Ends problems arises.

For example Ajax stops working suddently. E.g. Ajax based actions in Grids works only once and launching and closing a Ajax based Popup Window  seems to stop Ajax working.

Does anyone know what has to be configure differently when Ajax based Application is running with multiple Web Front-Ends?
What could cause this kind of behavior?

Cheers,

Michael 
Vesko
Top achievements
Rank 2
 answered on 25 Sep 2009
1 answer
62 views
Hi,

I have an application with telerik aspx controls (hosted in rackspacecloud.com), this was working very well, but yesterday the host provider change the security level and set medium security level, and my application crash and now send an internal server error.
Local works fine!!!

any suggestions?

Best Regards
Jose Miguel Vasquez Elizondo
Ivo
Telerik team
 answered on 25 Sep 2009
1 answer
250 views
I have a grid on my page which takes a while to load. How do I show my loading panel while the data is being loaded?
Shinu
Top achievements
Rank 2
 answered on 25 Sep 2009
1 answer
120 views
I am trying to check the value of the checkbox in a ItemTemplate in the GridTemplateColumn.  If you notice on line 3, this is what I'm attempting to accomplish.  I know it cannot be done this way, but how might I be able to do it.

if (col.UniqueName == "SelectedLineItems") 
                    { 
                        if (dataItem[col.UniqueName].Checked) 
                    { 
                        if (col.UniqueName == "colCatalogNumber") 
                    { 
 
                       if (dataItem[col.UniqueName].Text == this.txtFindColor.Text) 
                            dataItem[col.UniqueName].Text = this.txtReplaceColor.Text; 
                        { 
                            if (dataItem[col.UniqueName].Text == this.txtReplaceColor.Text) 
                                dataItem[col.UniqueName].ForeColor = System.Drawing.Color.Crimson; 
                        } 
                    }    
                        } 
                    } 


Shinu
Top achievements
Rank 2
 answered on 25 Sep 2009
4 answers
134 views
Hi.
I have the following client-side bound grid
    <telerik:RadGrid runat="server" ID="RadGrid1" AllowPaging="true" AllowSorting="true" AllowFilteringByColumn="true"  AllowMultiRowSelection="true" PageSize="20" Skin="Outlook" 
        OnItemCreated="RadGrid1_ItemCreated"> 
        <MasterTableView ClientDataKeyNames="UniqueID,InvoiceID,BofStreamID,EDIStreamID,ValidationStreamID,IsReleased,IsLocked,IsSent,IsInvalid,IsExportedToQB"> 
            <Columns> 
                <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn"> 
                <HeaderStyle Width="30px" /> 
                </telerik:GridClientSelectColumn> 
                <telerik:GridTemplateColumn UniqueName="Status" AllowFiltering="false" DataField="UniqueID"> 
                <HeaderStyle Width="60px" /> 
                <ItemTemplate> 
                      <a id="ViewLink" runat="server" href="javascript:void(0);"><img src="/uht2/images/icon-bc-saved.png" height="16" width="16" alt="Saved" title="Saved" /></a> 
                      <img src="/uht2/images/icon-bc-quickbooks.png" style="display:none;" height="16" width="16" alt="Exported to QB" title="Exported to QB" /> 
                </ItemTemplate> 
                </telerik:GridTemplateColumn> 
                <telerik:GridBoundColumn DataField="CompanyName" HeaderText="Company Name" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" DataType="System.String" > 
                    <HeaderStyle Width="32%" /> 
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="UniqueID" HeaderText="Unique ID" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" DataType="System.String"> 
                    <HeaderStyle Width="14%" /> 
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="DocNumber" HeaderText="Invoice #" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" DataType="System.String"> 
                    <HeaderStyle Width="12%" /> 
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="Currency" HeaderText="Currency" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" DataType="System.String"> 
                    <HeaderStyle Width="5%" /> 
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="TotalAmount" HeaderText="Total" DataType="System.Decimal" DataFormatString="{0:C2}"> 
                    <HeaderStyle Width="10%" /> 
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="LastUpdated" HeaderText="Last Updated" AllowFiltering="false" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy hh:mm tt}"> 
                    <HeaderStyle Width="15%" /> 
                </telerik:GridBoundColumn> 
            </Columns> 
            <PagerStyle Mode="NextPrevNumericAndAdvanced" Position="TopAndBottom"  /> 
        </MasterTableView> 
        <ClientSettings EnableRowHoverStyle="true" > 
            <DataBinding SelectMethod="GetDataAndCount" Location="BCGridService.svc" SortParameterType="List" FilterParameterType="List" ></DataBinding> 
            <ClientEvents OnDataBinding="RadGrid1_DataBinding" OnRowContextMenu="RadGrid1_RowContextMenu" OnRowDataBound="RadGrid1_RowDataBound"/>          
            <Selecting AllowRowSelect="true"  /> 
        </ClientSettings> 
    </telerik:RadGrid> 

and when i do sorting on Unique ID column, arrow appears under Status column.
For all other columns sorting is just fine.
screenshot

Telerik.Web.UI.dll version is 2009.2.826.35

Please advise some workaround
Oleg Medyanik
Top achievements
Rank 1
 answered on 25 Sep 2009
3 answers
168 views

Hi

I am using the map cotrols inside the splitter control. The splitter functionality works fine in Google chrome, Mozilla browser. But in IE6 & IE7 the map, panel controls are overlapping in splitter control.

In my project I have leftPane, topPane and bottomPane. In topPane the map control placed and in the bottomPane grid has placed. While executing the application the map control overlaying on the grid (looks transparent). 

Version: RadControls_for_ASP.NET_AJAX_2009_2_826_dev

Sample code:

Actually the map object has overlayyed on the bottompane. The map object will not work in your testing environment, so I have commented that line in the following source. Instead of that I have use the panel for testing.

<div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
        </telerik:RadScriptManager> 
    <telerik:RadSplitter id="radSplitterMain" runat="server" height="481" width="976" VisibleDuringInit="false" ResizeMode="EndPane">  
        <telerik:RadPane id="leftPane" runat="server" Width="20%" MaxWidth="250" > 
                <!-- Left Pane Content -->                  
        </telerik:RadPane> 
        <telerik:RadSplitBar id="radSplitbarVertical" runat="server" CollapseMode="Forward" BorderStyle="Double" /> 
        <telerik:RadPane id="rightPane" runat="server" scrolling="none" width="80%">   
        <!-- Nested Horizontal splitter --> 
            <telerik:RadSplitter id="radSplitterRight" runat="server" liveresize="true" orientation="Horizontal">  
                <telerik:RadPane id="topPane" runat="server" height="70%" scrolling="both">   
                <!-- Top Pane Content --> 
                <div id="divMap" style="width: 900px; height: 400px; top: 0px; left: 0px; z-index: 105; overflow: hidden; background-color: Yellow;">    
                <!-- <esri:Map ID="Map1" runat="server" MapResourceManager="MapResourceManager1" Height="100%" Width="100%" BackColor="#FFFFDC" OnExtentChanged="Map1_ExtentChanged1"></esri:Map> -->                      
                        <asp:Panel ID="pnlResize" runat="server" EnableViewState="False" Height="20px" Width="20px" 
                    Style="left: 941px;  top: 422px; position: absolute; background-color: Red; overflow: hidden">    
                    </asp:Panel>         
                </div> 
                </telerik:RadPane> 
                <telerik:RadSplitBar id="radSplitbarHorizontal" runat="server" CollapseMode="Backward" /> 
                <telerik:RadPane id="bottomPane" runat="server" height="30%" MaxHeight="300" scrolling="both">  
                <!-- Bottom Pane Content --> 
                    <asp:Panel ID="Panel1" runat="server" EnableViewState="False" Height="100%" Width="100%" BackColor="Brown">    
                    </asp:Panel>         
                    <!-- <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="OpenAccessDataSource2" /> --> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </telerik:RadPane> 
    </telerik:RadSplitter> 
    </div> 

Regards,
RAJASEKAR N
Rajasekar Nammalvar
Top achievements
Rank 1
 answered on 25 Sep 2009
3 answers
173 views
I am trying to loop through a grid and replace some values in certain cells. I am basically taking values from a text box, matching it to values in the grid and replacing those values with the value in another text box.  I can do this without any issue using a standard GridView.  How do I do this with RadGrid. RadGrid seems to not have a Rows object.

Here is my code that works fine with a GridView:

using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Telerik.Web.UI;

public partial class Default3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    
    protected void Button1_Click(object sender, EventArgs e)
    {
        GenerateUniqueData(3);
    }
    private void GenerateUniqueData(int name)
    {
        string initialnamevalue = this.TextBox1.Text;


        for (int i = 1; i < GridView1.Rows.Count; i++)
        {
            if (GridView1.Rows[i].Cells[name].Text == initialnamevalue)
                GridView1.Rows[i].Cells[name].Text = this.TextBox2.Text;
            else
                initialnamevalue = GridView1.Rows[i].Cells[name].Text;
        }
    }
}

Princy
Top achievements
Rank 2
 answered on 25 Sep 2009
1 answer
209 views
hi,
I cant open window from code. I added radwindow on page which is dynamically created. I cant find sow metod to dsplay window. any help appreciated.


Shinu
Top achievements
Rank 2
 answered on 25 Sep 2009
6 answers
286 views
Is it possible to guarantee that when you launch a window from within a window, that the new window be set to be the active window?

After doing some forum reading, it seems that all I should need to do is include the following code to make the new window active -

setTimeout(function() { attach.setActive(true); }, 0); 

But this doesn't seem to work properly for me. The odd thing is, it sometimes works, sometimes doesn't. It seems to have a 50% chance of actually becoming the active window.

Here is my code for launch the window from within a window, and attempting to make it active -

function LaunchAttachments() {  
        var section = document.getElementById("<%= hfAttachmentsSectionCode.ClientID %>").value;  
        var parent = GetRadWindow().BrowserWindow;  
        var attach = parent.radopen("Attachments.aspx?client=-1&section=" + section, "NewWindow");  
        attach.set_width(800);  
        attach.set_height(400);  
        attach.center();  
        salesRequest.set_status("");  
        attach.set_title("Attachments");  
        setTimeout(function() { attach.setActive(true); }, 0);  
        GetRadWindow().setActive(false);  
    } 
Jack Liao
Top achievements
Rank 1
 answered on 25 Sep 2009
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?