Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
176 views
I have a nestedview template inside my grid.

Inside the nestedViewtemplate I have a grid.
I want to change the row color for the inner grid. Which property should I refer to?
I was able to change the headerstyle-backcolor by specifying this property in the grid declaration but using ItemStyle-backcolor I am not able to change the background color for the rows.
I am using themes in my application.

Can you suggest?
Dimo
Telerik team
 answered on 07 Mar 2009
4 answers
143 views
Hi,
I am using RadInputManager with a NumericTextBoxSetting to manager a number of asp:TextBox controls for user input on float numbers.

It works fine, except:
1. when the user enters 0.0, after leaving the TextBox, the value in the Textbox is changed from "0.0" to "0", this is not a big deal.
2. when the user clicks on another button to save the data, the value "0" in the textbox is changed to empty string.

I am wondering where can I adjust either the RadInputManager or NumericTextBoxSetting not to reset the 0 values to empty string?

Thanks!
wenbiao
Iana Tsolova
Telerik team
 answered on 07 Mar 2009
1 answer
153 views
Hi,

I have written something like this

                        <asp:Panel runat="server" ID="pnlQuestionText" CssClass="RoundedCorner">
                            <div class="RoundedCornerDetail">
                                <h4>
                                    Question Text
                                </h4>
                                <asp:TextBox runat="server" ID="txtQuestionText" TextMode="MultiLine" Width="500px"
                                    Height="100px" />
                                <telerik:RadSpell runat="server" ControlToCheck="txtQuestionText" />
                            </div>
                            <ajax:RoundedCornersExtender runat="server" TargetControlID="pnlQuestionText" BorderColor="#D3D3D3"
                                Radius="10" />
                            <asp:RequiredFieldValidator runat="server" ID="valQuestionText" ErrorMessage="You must enter question text"
                                ControlToValidate="txtQuestionText">
                                <ajax:ValidatorCalloutExtender runat="server" ID="callOut2" TargetControlID="valQuestionText" />
                            </asp:RequiredFieldValidator>
                        </asp:Panel>
Here you can find a panel and a rounded corner extender a textbox and a spell checker.
I have 3 panels like this one on the page and note it I have not assign ID property of it.
And I have set few properties of spell checker in my .skin file.
In telerik's previous version i.e. RadControls for ASPNET AJAX Q2 2008 it was working fine.
But in RadControls for ASPNET AJAX Q3 2008, I got error like
"Multiple controls with the same ID 'dialogOpener' were found. FindControl requires that controls have unique IDs."

After that I have given ID to each spell checker then also it was throwing same error.
After that I have removed the spellchecker element from my .skin file and assign the properties to each spell checker then error was gone.

I think the new version having problem with .skin and id with the ajaxtoolkit extender !

Thanks & Regards,
Divyesh Chapaneri
Rumen
Telerik team
 answered on 07 Mar 2009
1 answer
117 views
I wish to be able to tell the user where are row in the grid is when they mouse over. Kind of like bread crumbs.

If the grid is grouped by a few columns sometimes it is not possible to tell which group you are in because the group headers are scrolled off the grid.

If I added a RadToolTip to the item template of a column is it possible to extract the information about the rows position in the grid?

ie "This row is in: Group1>>Group2"
Tsvetoslav
Telerik team
 answered on 07 Mar 2009
7 answers
397 views
I am using the new Q2 2008 release, and I want to Disable/Enable telerik:RadComboBox within telerik:RadGrid data item when client selection is changed. Please let me know what's the best solution for the same.

Requirement is to disable and reset the combo box when the checkbox [

telerik

:GridClientSelectColumn] is unchecked. and ViceVersa

-Thanks
Nhilesh

Veselin Vasilev
Telerik team
 answered on 07 Mar 2009
3 answers
177 views
Using 2.0, I am dynamically creating the grid in Page_Init.  I can enter filter text, click on the filter icon, the postback occurs and the results are properly filtered.  The issue is that the Filter Text box is empty, so the user cannot see what the filter was.
Can you help?

Thanks,
Rob
Sebastian
Telerik team
 answered on 07 Mar 2009
1 answer
186 views
I am attempting to display a radAlert once a record has been updated - very straight forward.  I have stepped through the code and know it is getting there, for some reason the window simply does not show up.  I have the window manager and AjaxScriptManager on the page:
<asp:ScriptManager ID="ScriptManager1" runat="server"
        </asp:ScriptManager>  
        <telerik:RadAjaxManager ID="AppRadAjaxManager" runat="server"
        </telerik:RadAjaxManager> 
        <telerik:RadWindowManager ID="AppRadWindowManager" runat="server" Width="400px"
        </telerik:RadWindowManager> 
I am trying to call the alert simply by doing this:
Dim Updated As Integer = Applications_DataAccess.UpdateApplicantInfo(record, first_name, last_name) 
 
                If Updated > 0 Then 
                    'does absolutely nothing 
                    DisplayMessage("Application Record Has Been Updated Successfully.""Update SUCCESS"
 
                    'works fine 
                    'MsgBox("Application Record Has Been Updated Successfully.", MsgBoxStyle.Exclamation, "Update SUCCESS") 
                End If 
Private Sub DisplayMessage(ByVal text As StringByVal title As String
        AppRadAjaxManager.ResponseScripts.Add("Sys.Application.add_load(function(){radalert('" & text & "', 330, 210, '" & title & "');})"
    End Sub 

So.... What am I doing wrong here?

(the page I am calling this from is a RadWindow in itself, called from a Grid Edit - could that be the reason?  I don't see why but who knows...


Georgi Tunev
Telerik team
 answered on 07 Mar 2009
2 answers
91 views
Hello I am trying out your Controls
in the Sharepoint.

I have made a Test Class People with Name, Age, Link, Image and so on.

I have a Class named PeopleCollection that contains a People list.

I have a drop down That Contains All Kind Of People Collection adn A Dictornary taht has the
People Collection by their name:

for ex.

PeopleDropdown:

On DropDownLoad()
{ Fill PeopleDictonary with all Kind of People
)

onDrpDownSlectedIndexChange
{
Grid.Datasource=null
Grid.Rebind()
Grid.DataSource = dictonarywithpeople[Combobox.SelectedItem.Text].PeopleList;}
Grid.Rebind()
}
onGridLoad()
{
Grid.DataSource = dictonarywithpeople[Combobox.SelectedItem.Text].PeopleList;}
Grid.DataBind()
}

onGridUpdate(object source, DataGridEvents e)
{
Here i like to get the Item that has chaneged but it has only the old values ??

}
Sebastian
Telerik team
 answered on 07 Mar 2009
2 answers
98 views
I have a search textbox on my page I bind my grid on click of find button like this:

 

 

protected

void BtnSearch_Click(object sender, ImageClickEventArgs e)

 

 

 

 

{

soHelper =

new SmartOfficeHelper();

 

 

DataTable dtContact = soHelper.SearchSmartOffice(RadTextBoxName.Text);

 

ViewState[

"dtContact"] = dtContact;

 

RadGridContact.DataSource = dtContact;

RadGridContact.Rebind();

 

if (dtContact.Rows.Count > 0)

 

{

RadGridContact.Visible =

true;

 

}

}


If i change the page and then try to do a different search my grid shows no records.
If i don't change the page then everything works fine.

protected

void RadGridContact_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)

 

{

 

 

if (e.RebindReason == GridRebindReason.InitialLoad)

 

{

 

DataTable emptyTable = new DataTable();

 

RadGridContact.DataSource = emptyTable;

}

 

else if (e.RebindReason == GridRebindReason.PostBackEvent)

 

{

soHelper =

new SmartOfficeHelper();

 

 

DataTable dtContact = soHelper.SearchSmartOffice(RadTextBoxName.Text);

 

RadGridContact.DataSource = dtContact;

}

}

 


Am I doing something wrong?
Sebastian
Telerik team
 answered on 07 Mar 2009
1 answer
169 views
I installed RAD Editor for MOSS 2007 before, which is a trial version.  Now our company purchased the product.  Is this the right package to download and install? http://www.telerik.com/account/downloads.aspx

RadControls for ASP.NET AJAX

msi file, 127 MB

Latest Version: 2008.3 1314 (Jan 14, 2009)


Does this package include RAD Editor for MOSS 2007 and all other RAD Controls?
Stanimir
Telerik team
 answered on 07 Mar 2009
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?