Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
94 views
Hi all,
how can I edit master and detail views if I have edit column command in master and detail views at the same time ??
use updatecommand event for both??? if yes how can I distingush between them in that event??????????


thanks in advance
ghadeer
Daniel
Telerik team
 answered on 19 Nov 2008
1 answer
155 views
Hi,

While resizing grid column normally it is showing the Tooltip "width:xxx pixels". Is there any way to get rid of that tooltip.

Regards,
Dimo
Telerik team
 answered on 19 Nov 2008
3 answers
103 views
Hi,


Is there anyway to call lightbox as a dialog from RadEditor???


Thanks and Regards,
KmmZ
Martin
Telerik team
 answered on 19 Nov 2008
2 answers
105 views
Hi,

I have GridNumericColumn : 

                                    <telerik:GridNumericColumn
                                        UniqueName="AreaSize"
                                        HeaderText="GFA Size"
                                        DataField="area_size"
                                        Visible="true"
                                        FooterText="Total: "
                                        Aggregate="Sum"            
                                        ItemStyle-Height="10px">
                                        <ItemStyle Width="100px" HorizontalAlign="Right"  />
                                    </telerik:GridNumericColumn>

I want to show the text "total:" in the group footer, but when I added  <DataFormatString="{0:###,###.##}">  in the column,
footer text will disapear, I want to show the footer text and set the dataformatstring,

Please help.

Regards,

Paul.
Paul
Top achievements
Rank 1
 answered on 19 Nov 2008
1 answer
319 views
Hey there,
How does one go about changing the DateFormat for the raddatepicker client side using javascript.
Thanks in advance
Princy
Top achievements
Rank 2
 answered on 19 Nov 2008
3 answers
198 views
Here is my scenario:
- I have a User Control and a RadGrid on a page.
- The RadGrid has and Add New link button in the CommandItemTemplate
- Each row in the grid has an Edit and a Delete Button.
- My entire Grid is ajaxified to update my user control as such:

            RadAjaxManager.AjaxSettings.AddAjaxSetting(DebtorsGrid, QueueItemDetailsUserControl);

- When the user Deletes a row in the grid, I run server side code that dynamically builds my user control (recreates all of the controls in the user control).
- I do NOT run that same code when a user does an Edit or an Add New in the grid, so the user control does not get updated.

- Currently, when the user Deletes a row from the grid, my code runs that rebuilds my user control, and after the ajax postback occurs, my user control is correctly updated / displayed.

My problem though is that when I do an Edit or an Add New in the grid, my control is empty after the postback.  Since I don't dynamically build it on Edit or Add New, I guess I lose the "state" of my user control.

My goal would be to ONLY ajaxify the grid's Delete button and my user control, rather than ajaxify the entire grid.
Is that possible?

Thanks,
Brent
Yavor
Telerik team
 answered on 19 Nov 2008
4 answers
178 views
Is there a way to force the filter row cells not to wrap? I've seen the fix for content cells but I don't see a corresponding way to accomplish this with the filter row. The FilterItemStyle Wrap="false" property doesn't seem to work.

For example, even with wrapping set to false, I've noticed that the filtering glyph will be wrapped to the line below the filter textbox when you attempt to resize a column which was too small to display the glyph (fixed layout, static headers, allow scroll, real time resize). This increases the filter row height which has the unfortunate consequence of partially hiding the pager. It appears as though the grid height / available space isn't recalculated when column resize operations result in an increase in row height.

I'd like to ensure that the filter cell contents don't wrap so that the pager is always fully visible.

-K
Vlad
Telerik team
 answered on 19 Nov 2008
1 answer
102 views
is it possible in the skin file of a radgrid to get your default columns to show up at the beginning of the rowset vs the end?
ie
.skin file

<columns>

 

<telerik:GridButtonColumn Text="Hide" CommandName="Hide" />
</columns

when the page renders, the command is always at the end of the rowset vs. the beginning.

cheers
mac

 

Princy
Top achievements
Rank 2
 answered on 19 Nov 2008
3 answers
186 views
I have a pretty simple scenario where I have 2 RadComboBox controls in a RadGrid EditMode="Popup".  Changing the value of one comboBox enables/disables the other, so I handle the server-side OnSelectedIndexChanged event handler (w/ AutoPostBack="true") of the primary combo.  This works just fine, but the small problem is that the popup temporarily disappears, similar to a screen flash on a regular postback.  Exact same code with EditMode="EditForms" worked with no screen flash.  Any way around this?
Vlad
Telerik team
 answered on 19 Nov 2008
2 answers
126 views

 

Hi ALL,
I used radgrid with details view and I used DetailTableDataBind event to check  if the row in a master table have specific value ,I bind the details table if not,I want to make it invisible like:
protected
void rgStaffRequest_DetailTableDataBind(object source, GridDetailTableDataBindEventArgs e)

 

{

 

 

string iCertificate = string.Empty;

 

string[] iTypes ={ };

 

 

 

try

 

 

 {

 

 

 

GridDataItem _dataItem = (GridDataItem)e.DetailTableView.ParentItem;

 

 

 

int _iRequestId = Convert.ToInt32(_dataItem["SRID"].Text);

 

 

 

switch (e.DetailTableView.Name)

 

 

 {

 

case "TravelPermitDetails":

 

 

 iCertificate = _dataItem[

 

 

"CERTIFICATE"].Text; // to check if the request for travel permit. 

 

iTypes = iCertificate.Split(','); 

 

 

 

foreach (string iType in iTypes)

 

 

 

if (iType.ToLower() == "Travel Permit".ToLower())

 

 

 {

e.DetailTableView.DataSource = _Controller.TravelDetails(_iRequestId);

 }
else
e.DetailTableView.visible=false;

 

break;

 

 

}

}

 

catch (Exception)

 

 

 {

throw;

 

 }
}



the problem that this code will hide the detailstable for all masetertable row!!!!!!!!
so how can I hide detalstable for some mastertable rows???????????

ghadeer

 

ghadeer
Top achievements
Rank 1
 answered on 19 Nov 2008
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?