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

I have got checkboxes being displayed in a cloumn to check and uncheck to meet my requirements however after updating it , it updates the value but I still have to click on close which in turn should automatiocaly rebind ,my radgrid in not binding it evenafter using radgrid.rebind() in C#.Need ur helping hand.


Thanking you in advance.
Princy
Top achievements
Rank 2
 answered on 08 Apr 2009
1 answer
80 views
Hi telerik team,

I have an issue while export grid into excel data format is not working fine
Ex: in Grid 25.60 in excel 25.6 
phone Num-         0123456789 in excel 123456789

while searching in forums i found this URL http://idunno.org/archive/2004/14/01/122.aspx. but no use.


Thanks for any help
Princy
Top achievements
Rank 2
 answered on 08 Apr 2009
1 answer
116 views
I have a template column:

<

 

telerik:GridTemplateColumn UniqueName="Email1DateTemplate">

 

 

<ItemTemplate>

 

 

    <asp:Button ID="btnEmail1Date" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"invoiceNumber")%>'

 

 

        CommandName="Email1" runat="server" CssClass="button1" Text="Letter 1 Sent" />

 

 

        <asp:Label ID="lblEmail1PostDate" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"email1Date")%>'></asp:Label>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

OnItemDatabound i check the contents of lblEmail1PostDate and it does not seem to have a value until AFTER databound?? I can find the label control.. but the text property is always blank. One the grid is rendered the text has been put in though?

 

protected

 

void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)

 

{

 

if (e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem)

 

{

 

 

 

 

GridDataItem dataItem = (GridDataItem)e.Item;

 

 

Label lblEmail1PostDate = dataItem["Email1DateTemplate"].FindControl("lblEmail1PostDate") as Label;

 

 

if (lblEmail1PostDate != null && lblEmail1PostDate.Text != " ")

 

{

 

Button btnEmail1Date = e.Item.FindControl("btnEmail1Date") as Button;

 

btnEmail1Date.Visible =

false;

 

}

 

else

 

 

 

 

{

lblEmail1PostDate.Text =

"What the?";

 

}

}

}

Shinu
Top achievements
Rank 2
 answered on 08 Apr 2009
3 answers
166 views
How do you add or modify an exported PDF.  I know how to set the property but cannot figure out how actually add data to the PDF or modify data in the PDF.

Thanks.
Princy
Top achievements
Rank 2
 answered on 08 Apr 2009
3 answers
258 views
Hi,
I have been trying to get a webpart in WSS using Rad Tree Control embedded in a User Control. The node expand was set to Webservice and created an asmx webservice for it. I tried to place the asmx in the _vti_bin folder, buit for some reason when it is invoked it keeps asking for user credentials. Could you please provide some guidance as to how this can be removed or point me to some examples of using asmx webservices for RadControls in WSS?

Thanks
Kasi
Top achievements
Rank 1
 answered on 08 Apr 2009
1 answer
204 views
All,

I have a grid displaying items using the built in paging and sorting capability - the grid can hold more than 1,000 items in some cases.

When a new item is added to the data set via an external action (for example, a popup dialog followed by a save action - not using the grid's edit feature), the grid is set to refresh (rebind) to the data source, which now contains the new row.

The new row is not always displayed by the grid depending on the CurrentPageIndex and sort order.  This makes it difficult the the user to locate the new row.

Is there a mechanism to programmatically tell the grid to paginate to the appropriate row so the page where the row happens to be located based on current sort setup is displayed?  In other controls this is equivalent to an EnsureVisible(key) method.

Regards,

Etienne
Princy
Top achievements
Rank 2
 answered on 08 Apr 2009
2 answers
102 views
I have 5 RadDock objects within a RadDockZone in a single column (ie. lined up vertically beneath one another). They are basically modules in the right hand column of a web application.

Myself and my client are finding that attempting to drag any element to the bottom most position can be quite difficult. When dragging and dropping the control displays a dashed rectangle indicating where the RadDock will be placed if released. When trying to drag and drop an element into the bottom most position, the period for which the dashed rectangle is displayed in the bottom most position is very small. (ie. while dragging the element down, the dashed rectangle is displayed in the bottom most position for about 10px only. If you drag beyond this 10px (approx.) the dashed rectangle disappears again making it very un-user friendly).

In particular if the height of the 5 RadDock elements is such that all elements do not fit within the visible portion of the window it can be next to impossible. In this instance the client has to abandon this attempt, and instead drag the element to the 2nd to bottom position , and then drag the bottom element up over the 2nd to bottom element.

Is this a known issue. Is there a fix? Thanks for your help.

I have created a test application which I can provide if you let me know where to send it to.

Dave
Top achievements
Rank 1
 answered on 08 Apr 2009
2 answers
113 views
I need a little bit of Chart help.

Here is the end result: http://www.mccsokinawa.com/images/misc/chart.png

See where it says Item 1, Item 2, Item 3? That should say NF, GS, and IHA.

Here is my chart code:

<telerik:RadChart ID="RadChart1" runat="server" Skin="Black" DataSourceID="dsFilledBillets">  
            <ChartTitle> 
                <TextBlock Text="Filled Billets" /> 
            </ChartTitle> 
            <Series> 
                <cc1:ChartSeries DataYColumn="COUNT" Name="COUNT" Type="Pie" DefaultLabelValue="#Y" Appearance-LegendDisplayMode="ItemLabels" /> 
            </Series> 
</telerik:RadChart> 

My datasources are set up correctly, and my data looks like this:

Grade_Group        COUNT
GS                         1
IHA                         5
NF                          19

Straight forward question: How do I replace the Item 1, Item 2, and Item 3 with GS, IHA, and NF? Please help...
David
Top achievements
Rank 1
 answered on 07 Apr 2009
2 answers
252 views
Is it possible to add a template to a node when the node is being created client side? I'm looking for something similar to setting a nodes NodeTemplate property server side.
John
Top achievements
Rank 1
 answered on 07 Apr 2009
8 answers
150 views

Hi:
I am using Office2007 skin.  I have noticed that with GridBoundColumn and GridTemplateColumn that the cell display in different font sizes.  This is true in both ItemTemplate and EditItemTemplate modes.  How do I maintain a consistent style?

 

Phil
Top achievements
Rank 2
 answered on 07 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?