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

I am having RadToolBar on my page which contains RADMenu.
And after expanding menu it goes behind DataGrid(InterSoft) placed on my page.
 EnableOverlay propertry of RadMenu is not working.


Thanks
Sarabjeet
Shinu
Top achievements
Rank 2
 answered on 11 Nov 2009
1 answer
101 views
I am using the ServerSideValidationExtender with a custom PropertyProxyValidator in conjuction with a RadMaskedTextBox. When the PropertyProxyValidator fires the OnChanged event the value passed into the event is not the new value of the text box but rather the last value. So in the below example the page renders with the text 1111-11-11 in the box. I change the value to 1111-11-22. Tab out of the box. The PropertyProxyValidator does get fired but the value passed into the method is 11111111 not 11111122.

I know we can possibly use other controls for date entry but we have a requirement for displaying the edit mask and I am trying to evaluate how we can use our design for the validation with this RadMaskedTextBox. As well even if this was not a date the issue would be the same.

 

 

 

<telerik:RadMaskedTextBox ID="ServiceDateTextBox" runat="server" Mask="####-##-##" PromptChar="_" Text='11111111' />   
 
<HCFW:HCPropertyProxyValidator ID="HCPropertyProxyValidator1" runat="server" 
 
ControlToValidate="ServiceDateTextBox" PropertyName="ServiceDate" SourceTypeName="HC.Modules.Provider.PresentationEntities.Member, HC.Modules.Provider" /> 
 
<WCSFX:ServerSideValidationExtender ID="ServerSideValidationExtender1" runat="server" TargetControlID="HCPropertyProxyValidator1" /> 
 

 


Our OnValueConvert method has the following code in it for our HCPropertyProxyValidator implementation:

 

 

        private void OnValueConvert(object sender, ValueConvertEventArgs e)  
        {  
 
            if (e.TargetType.Equals(typeof(System.DateTime)))  
            {  
                string value = e.ValueToConvert as string;  
                DateTime convertedValue;  
 
                bool success = DateTime.TryParse(value,  
                        System.Threading.Thread.CurrentThread.CurrentUICulture,  
                        System.Globalization.DateTimeStyles.None,  
                        out convertedValue);  
 
                if (success)  
                {  
                    e.ConvertedValue = convertedValue;  
                }  
                else 
                {  
                    e.ConversionErrorMessage = "Date is not a valid value.";  
                    e.ConvertedValue = null;  
                }  
            }  
        } 

 

Veli
Telerik team
 answered on 11 Nov 2009
3 answers
627 views
<rad:GridButtonColumn ButtonType="ImageButton" ImageUrl="../Images/Recreate.GIF" UniqueName="RecreateColumn"
                                         CommandName="Recreate">
                                        <HeaderStyle Font-Bold="True" Wrap="False"/>
                                        <ItemStyle Wrap="true" />
                                    </rad:GridButtonColumn> 


This is piece of code whose image buttons i need to find in code behind .cs file and need to add click event on this.

How can i do this ?


Thanks,
Awadh
Princy
Top achievements
Rank 2
 answered on 11 Nov 2009
3 answers
170 views
Hi,

It seems that when Grouping is enabled on the grid, the GridGroupSplitterColumns are being included as part of the FrozenColumnCount, is this by design?
I think GridGroupSplitterColumns should be excluded from the FrozenColumnCount.

Anyway, as a workaround, for those interested had to increase/decrease 'grid.ClientSettings.Scrolling.FrozenColumnsCount' within GroupsChanging event.

Also, programatically setting GroupByExpressions does not seem to fire GroupsChanging event, I think because GroupsChanging it is part of drag/un-drag column header to GroupPanel, so also had to increase FrozenColumnCount during this action.

Carl
Telerik team
 answered on 11 Nov 2009
1 answer
73 views
Hi,

  I have a scenario,
          I have one WorkOrder Record, for that particular record has 2 Invoice record, 4 Payment record and 5 Inspection Record.
How can I get 1 WorkOrder Record and multiple Detail tables record with out duplication in a single grid.

Thanks in advance,
Nirmal
Princy
Top achievements
Rank 2
 answered on 11 Nov 2009
2 answers
129 views
Im trying to calc PV/Margin in the Group footer.  I have a CalcField that Calcs the PV/Margin correctly but now I want to get the total for their groupings.

I tried the SUM aggregate but it doesnt come out correct.  I didnt see any examples with a Custom aggregate.

        <telerik:GridCalculatedColumn DataType="System.Double" DataFields="DayFig,ExtCost" HeaderText="PV"   
           UniqueName="PV" Expression="(({0}-{1})/{0})" DataFormatString="Avg : {0:p}" Aggregate="SUM">  
        </telerik:GridCalculatedColumn> 
bradley baker
Top achievements
Rank 1
 answered on 11 Nov 2009
4 answers
217 views
Hi Telerik Team,

I have a issue with radgrid.

i have a radgrid inside a radajaxpanel and the pagestyle mode=slider,
the pagenavigation works fine with ajax enabled.

but if i change the mode to any other options available then the ajax is not working
but page navigation works fine.

can u plzz help me in this issue aspd..

Thanks
K²
kiran
Top achievements
Rank 1
 answered on 11 Nov 2009
1 answer
87 views
Hello,

 I am looking for a way to make a button in an individual row visible/invisible based on the row contents.

For example:

Column1(Location Type) Column2(Location) Column3(Delete)
P                                       Airport                    <Delete Button>
S                                        Hotel                        <Delete Button>
D                                           Restaurant            <Delete Button>

If the Location Type is P or D, I want to make the delete button invisible. How can this be done?

Thank you,
Derek
Shinu
Top achievements
Rank 2
 answered on 11 Nov 2009
10 answers
349 views
hi...
i want to open calender popup of rad date picker on top side...how can i do this?????plz reply..... 
Harry
Top achievements
Rank 1
 answered on 11 Nov 2009
6 answers
127 views
Hi There,

I have annoying issue with the radComboBox.
I'm using radCombox inside the radgrid and I'm using Ajax Update Panel.
The combo box data is using late binding.
RadComboBox oCombo = (RadComboBox) RowItem.FindControl("radComboBox1");   
oCombo.Visible = true;   
oCombo.DataSource = dt;  
oCombo.DataTextField = "Text";   
oCombo.DataValueField = "Value";   
oCombo.DataBind();  
 

When I submitted the page, I can see an extra thin line under the combo box. Please refer to the attached screenshot.
How to eliminate the extra line?
For initial load, calling the same function, the combo box doesn't have an extra line.

Thanks,
Sxin
First
Top achievements
Rank 1
 answered on 11 Nov 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?