Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
163 views
Hi Telerik Team:

I am using RadPanelBar with a default skin. If I click the Arrow image (provided by the skin) on the right side of header item. The item gets expanded. However it also popup a new page (specified in NavigateURL ).

What I want is when I click the Arrow, it expands the item,  but not popup the NavigateURL page. The NavigateURL page should be populated when I click other area of the header.

I looked at your sample "Example Scenarios (How To) > Expand a header item while clicking on the ImageUrl only". It is close but not exactly what I want.

I appreciate your response.

Thanks
Wei
Kamen Bundev
Telerik team
 answered on 14 Jul 2010
3 answers
157 views
Hi there,

Please see the attached image.  I am grouping my data, but I need some questions answered.

I want "Type:" not to display.  There should be just "Achievers" or "Ongoing".

Next to "Achievers" and "Ongoing" I need the group total to display, just above the item count.  So to the right of "Achievers" I need the value to be 5.

I had a look at the samples online, and the forum.  I think there were 2 posts in the forum.

Here is my code:

<telerik:RadGrid
  AllowPaging="false"
  AutoGenerateColumns="false"
  GridLines="None"
  ID="rgNominationsReportSummary"
  runat="server"
  ShowHeader="false"
  Width="450">
  <MasterTableView Name="NominationsSumary">
    <GroupByExpressions>
      <telerik:GridGroupByExpression>
        <SelectFields>
          <telerik:GridGroupByField FieldName="NominationTypeName" FieldAlias="Type" />
        </SelectFields>
        <GroupByFields>
          <telerik:GridGroupByField FieldName="NominationTypeName" />
        </GroupByFields>
      </telerik:GridGroupByExpression>
    </GroupByExpressions>
    <Columns>
      <telerik:GridBoundColumn DataField="NominationStatusName" HeaderText="Status">
        <ItemStyle Width="88%" />
      </telerik:GridBoundColumn>
      <telerik:GridBoundColumn DataField="NominationCount" HeaderText="Count">
        <HeaderStyle HorizontalAlign="Right" />
        <ItemStyle HorizontalAlign="Right" Width="12%" />
      </telerik:GridBoundColumn>
    </Columns>
  </MasterTableView>
</telerik:RadGrid>

Thanks
Brendan
Brendan Vogt
Top achievements
Rank 1
 answered on 14 Jul 2010
1 answer
128 views
Hello everyone,

I'm using a marked zone as a horizontal baseline for a chart per the many examples on this site.  This is working fine as long as the data in the chart series are close in value to the marked zone's ValueStartY and ValueEndY properties.  If not, the marked zone's position is outside of the viewable plot area.  Is there a way to ensure that the marked zone always shows up?  Also, the data is quite variable, and the chart implementation is designed to accomodate several types of charts (an engine of sorts), so we can't just assume a visible min/max for the Y axis.  Any help is greatly appreciated.  Thanks!

Eric
Ves
Telerik team
 answered on 14 Jul 2010
1 answer
117 views
hi
  how to add new record in grid,for example add the row to the grid and make another row available to enter another record
Shinu
Top achievements
Rank 2
 answered on 14 Jul 2010
2 answers
295 views
Hi,

I need to loop through every row in a multicolumn dropdown in client side, how can this be acheived?

Scenario. There is a multicolumn radcombobox whith 3 columns, User enter a value in a textbox which should get added to the multicolumn racombo. Before inserting the value to the combo I need to check if that value which user has entered is already present in the list or not. If the value is there in the list already I need to display a error message to the user. I need this to be acheived client side. I need to loop through every row in the item list and get the value of the first column.

Please let me know how can  this be accomplished.
Yana
Telerik team
 answered on 14 Jul 2010
1 answer
110 views
hello

I RadControls for ASP.NET AJAX Q1 2010
I wish I could use the new Multi selection of radupload.
I saw it was a novelty how do I do to get the upgrade?



Ch.
Yana
Telerik team
 answered on 14 Jul 2010
1 answer
96 views
Hi:

I have a radgrid (working with radajaxmanager). I'm using CommandItemTemplate to issue grid commands (insert/update). I'm using FormTemplate to insert/edit records. inside FormTemplate, I have normal asp textboxes, dropdowns and validators. Validators have servervalidate handler. When user clicks Update, command is fired OK and validations happen OK. The problem is that, after callback ends, the updating row gets closed, no matter if there were invalid validators. In the same app I have another grid working ok: updating row stay expanded if validation was wrong and every invalid validator displays. The only difference I can see in the way the 2 grids are performing is that, the right grid does not issue the NeedDataSource event, while the wrong grid does. Does anybody have a clue on what's happening??? how can I persist the state of the updating item??? Notice that I need not onlt the Expanded state, but each of the validator state too.

Thanks in advance.
Veli
Telerik team
 answered on 14 Jul 2010
3 answers
355 views
Hi,
i am using radgrid and edit template. In the edit template, we are using a dropdown control to select the data which will be based on certain conditions. These conditions are dynamic and hence need to use a object datasource or direct datatable binding to the dropdown. I am trying to bind the dropdown control in the itemdatabound event (please refer to the code below), but am getting an error (please refer to the error message below) whenever I try to execute the same. Need some solution for the same.

Thanks,

Vinodh
 
protected void radGridItemMetal_ItemDataBound(object sender, GridItemEventArgs e)
        {
            try
            {
                
                foreach (GridEditableItem editItem in radGridItemMetal.MasterTableView.GetItems(GridItemType.EditFormItem))
                {
                    if (editItem.IsInEditMode )
                    {
                        DataSet comboDataSet = items.GetComboDataset();
                        DataTable itemUOM = comboDataSet.Tables[0];
                        RadComboBox dropdownUOM = (RadComboBox)editItem.FindControl("radcomboUOM");
                        dropdownUOM.DataSource = itemUOM;
                        dropdownUOM.DataTextField = "LDValue";
                        dropdownUOM.DataValueField = "LDID";                        
                        dropdownUOM.DataBind();

                    }

                }
            }
            catch (Exception err)
            {

            }


The error it gives is::
{System.InvalidOperationException: Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.
   at System.Web.UI.Page.GetDataItem()
   at ASP.forms_items_aspx.__DataBinding__control167(Object sender, EventArgs e) in c:\Users\Sunil\AppData\Local\Temp\Temporary ASP.NET Files\root\7864bae7\722837af\App_Web_k0euui1y.1.cs:line 0
   at System.Web.UI.Control.OnDataBinding(EventArgs e)
   at Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e)
   at Telerik.Web.UI.RadComboBox.PerformSelect()
   at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
   at Telerik.Web.UI.RadComboBox.DataBind()
   at MJJERP.PTL.Forms.Items.radGridItemMetal_ItemDataBound(Object sender, GridItemEventArgs e) in D:\Projects\MJJERP\Source\MJJ.PTL\Forms\Items.aspx.cs:line 120}
Veli
Telerik team
 answered on 14 Jul 2010
2 answers
178 views
Hello Sir,

I want to Rad Editor Content same from word file (Microsoft word).

and also export to same word file ??

is it possible ??

if you have any document then please help me.

Thank you.
Ketan Patel
Top achievements
Rank 1
 answered on 14 Jul 2010
3 answers
93 views
we have analysed that pages on the sharepoint site are slowing down due to java script errors, "please wait while scripts are loading". On debugging we have found that java script generated on the run by telrick controls throw a Null Error for object ($telerik). This does not results in any functionality break but slows down the page. Just to verify this we have verified that all the configuration steps for the RAD configuration are properly done. Still its giving us a Error.

Please let us know how to FIX this.
Stanimir
Telerik team
 answered on 14 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?