Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
122 views
hello!
we have a customized toolbar (module name="RadEditorDomInspector" , ToolsFile.xml) and without editing content button in hmtl. how can we add this one to current tool bar? 
Stanimir
Telerik team
 answered on 31 Jul 2009
1 answer
104 views
Hi,

My grid has 3 columns with first column being a gridclientselectolumn??
My grid gets populated with data from another grid in another page??

so, when i bind data to my grid in 1st page, I need to have the gridclient select columns to be checked for those rows( by default even the header should be checked).

How do i implement this???
Thanks,
ZR

Princy
Top achievements
Rank 2
 answered on 31 Jul 2009
1 answer
108 views
Hi,

Am trying to work with nHibernate and execute a query get the return value of the query output as IList Collection.

if i try to retrieve all the column value by using the "From" and populate the IList collection and assign that object to the data source of the radGrid its working fine.

If i try to retrieve specific columns using the  "Select" and populate the IList Collection and assign the same object to the data source of the radGrid its not working properly
private Void FormatQuery(string sTableName)  
            {  
                string FormatedQuery = "";  
                FormatedQuery = "from " + sTableName.ToUpper().ToString() + "Entity A";  
                //FormatedQuery = "Select a.FIRST_NAME,a.COMMENTS  from " + sTableName.ToUpper().ToString() + "Entity a";  
                  
                IList data;  
                CommonDataAccess CommonData = new CommonDataAccess();  
                data = GetData(FormatedQuery);  
                Simple_Grid.DataSource = data;  
 
            }  
 
      public IList GetData(string sSQL)  
        {  
            ISession sDataSession = NHibernateHelper.GetCurrentSession();  
            IList oDataObj = sDataSession.CreateQuery(sSQL).List();  
            return oDataObj;  
        }  

In the above Code. if i try to get the value by passing the Query in the "FormatedQuery" variable its working fine
The same is not working fine if i use the query in the Commented Line.

Pls guide me how to proceed.

Jidesh
Vlad
Telerik team
 answered on 31 Jul 2009
4 answers
114 views
How can I turn off the pop-up form when I double click on each time slot without setting ReadOnly="true". I want to navigate to another page upon double click on it instead.

Thank you.
Billy Pham
Top achievements
Rank 1
 answered on 31 Jul 2009
1 answer
98 views
Hello,

I have InPlace editing enabled and I'm using an Edit ItemTemplate in order to create validation on some of the fields using drop-down lists.

My question is how can I set the selected value on the drop-down list to be the value of the item before it was in edit mode?
The drop-down list populated correctly but by default displays the first item in the list.
It seems as though there should be SelectedValue property for the DropDownList but there isn't.

Any help is greatly appreciated.

- Joe


UOM is the name of my DataField
<telerik:GridTemplateColumn UniqueName="UnitOfMeasureNative" Display="true" ItemStyle-HorizontalAlign="Center" 
                                    HeaderText="UOM (Native)"
                                     
                                    <ItemTemplate>                           
                                        <asp:Label runat="server" ID="lblUnitOfMeasureNative" Text='<%# Eval("UOM") %>'
                                        </asp:Label> 
                                    </ItemTemplate> 
                                    <EditItemTemplate> 
                                        <asp:DropDownList runat="server" ID="ddlUOMNative" 
                                            DataTextField="Abbreviation" 
                                            DataValueField="ID" 
                                            DataSource='<%# Pace.Ecolink.Data.Factory.UOMFactory.GetUOMList()  %>'
                                        </asp:DropDownList>        
                                    </EditItemTemplate> 
                                </telerik:GridTemplateColumn> 

Princy
Top achievements
Rank 2
 answered on 31 Jul 2009
1 answer
99 views
Hi.

I have a GridClientSelectColumn in my grid. The feature I need is the following:
When SELECT ALL checkbox is checked or unchecked, before it performs the action, confirmation message is required, depending on the status:
"Are you sure you want to ...(select/deselect all entries)"
.

How do I accomplish that?
Thanks!
Shinu
Top achievements
Rank 2
 answered on 31 Jul 2009
2 answers
90 views
I have a page that is fully decorated with the FormDecorator. There is a Delete button that on page load is disabled and the style is good.  After a user action on the page, when in edit mode, the button is enabled via the client side JavaScript without  a postback. The button retains it's original disabled style.

If I try something like this, it works partially, better in FF than IE 8 when using the WebBlue theme as an example...

...

var

 

delBtn - get the button reference...

 

 

//find the decorated container and set the skin.

 

delBtn.parentNode.className =

'RadForm_WebBlue.rfdButton';
...

Any advice?

Thanks.

 

ZSN
Top achievements
Rank 1
 answered on 31 Jul 2009
1 answer
129 views
Hi. I have a two column page. When trying to display a RadTabStrip inside the second column it always breaks to the first. Here is my code below:

<form id="form1" runat="server">  
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
        </telerik:RadScriptManager> 
        <div style="float: left">  
            <h1> 
                LEFT</h1> 
        </div> 
        <div> 
            <h1> 
                MAIN</h1> 
            <telerik:RadTabStrip runat="server" ID="rtsNews" Skin="Simple" Orientation="HorizontalTop" 
                SelectedIndex="0" MultiPageID="rmpNews">  
                <Tabs> 
                    <telerik:RadTab Text="Corporate">  
                    </telerik:RadTab> 
                    <telerik:RadTab Text="Products">  
                    </telerik:RadTab> 
                    <telerik:RadTab Text="Services">  
                    </telerik:RadTab> 
                </Tabs> 
            </telerik:RadTabStrip> 
            <telerik:RadMultiPage runat="server" ID="rmpNews" SelectedIndex="0" Height="218px" 
                Width="396px">  
                <telerik:RadPageView runat="server" ID="RadPageView1">  
                    <ul> 
                        <li>Corporate Info</li> 
                        <li>Press Center</li> 
                        <li>Customers</li> 
                        <li>Awards</li> 
                    </ul> 
                </telerik:RadPageView> 
                <telerik:RadPageView runat="server" ID="RadPageView2">  
                    <ul> 
                        <li>RadControls for ASP.NET</li> 
                        <li>RadControls for WinForms</li> 
                        <li>Telerik Reporting</li> 
                        <li>Sitefinity CMS</li> 
                    </ul> 
                </telerik:RadPageView> 
                <telerik:RadPageView runat="server" ID="RadPageView3">  
                    <ul> 
                        <li>Enterprise Services</li> 
                        <li>Enterprise Account Manager</li> 
                        <li>On-site Training</li> 
                        <li>GoToMeeting Sessions</li> 
                    </ul> 
                </telerik:RadPageView> 
            </telerik:RadMultiPage> 
        </div> 
    </div> 
    </form> 
Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 31 Jul 2009
1 answer
142 views
I know this is really basic coding, have searched around here cannot find an answer... I need to change the value of a data cell if a condition is met, the column is say InvoiceStatusID, say it has a value of "O" if that condition is met I just need to change the output to "Invoice" the code I have tried obviously doesn't work and I'm new to ASP.NET.
    Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated 
        Dim dataItem As GridDataItem = Nothing 
        Dim data As Data.DataRowView = Nothing 
        Try 
 
            If TypeOf e.Item Is GridDataItem Then 
 
                dataItem = CType(e.Item, GridDataItem) 
                data = CType(dataItem.DataItem, Data.DataRowView) 
 
 
                If CType(data.Row.Item("InvoiceStatusID"), String) = "O" Then 
                    CType(data.Row.Item("InvoiceStatusID"), TextBox).Text = "Invoice" 
                Else 
                    CType(data.Row.Item("InvoiceStatusID"), TextBox).Text = "Closed" 
                End If 
 
            End If 
        Catch ex As Exception 
 
        Finally 
 
            dataItem = Nothing 
            data = Nothing 
        End Try 
    End Sub 
.. be kind lol, here is what doesn't work:
Mark
Top achievements
Rank 1
 answered on 31 Jul 2009
0 answers
59 views

I am using RadProgress Area with FileUpload Control. When I try to upload large files it takes very long time to display the progress area and in the browser (FireFox) I can see the "transferring data from <websitename>...." message during that period.

Can anyone help me to fix this issue to get the progress area sooner?



-Nad-
Nad Ran
Top achievements
Rank 1
 asked on 30 Jul 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?