Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
152 views
I am using a RadDataPager to allow my user to page through a series of records.

I am successfully keeping track of every thing.
I should mention I am doing this in code-behind.

I respond to the OnCommand events, get the data, and present each record as they interact with the pagination.

I also want to allow them to add and delete data.

I respond to the TotalRowCount request which seems to get triggered when I issue a FireCommand evet at the DataPager.

Everything works well on the add. The Total row count and current page is updated and the user is positioned on the correct data.

However when I want to remove an entry the current page value in the UI is set to 1.

Now the data being presented is incorrect and if they click Next my code traps because my internal index is set to the wrong value.

I am firing a command with my desired page number but it always sets the DataPage to page 1.

My current work around is to set my internal index to zero.
Tsvetoslav
Telerik team
 answered on 21 Sep 2012
4 answers
242 views
I'm using a RadGrid with a GridClientSelectColumn and paging is enabled.  I want to perform row deletions in the ItemCommand event handler when a "Delete Checked" linkbutton in the command row is clicked.

I check two rows in the GridClientSelectColumn on the first page, then page forward to 2nd page and check 2 more rows.  When I click the "Delete Checked" linkbutton, the ItemCommand event handler spins through the radgrid.SelectedItems and deletes the two rows checked on the 2nd page, but not the two checked rows on the first page.  I do understand why it works this way.  My question is, what approach should I use to accomplish what I want to do, since this way isnt going to cut it...
Tsvetoslav
Telerik team
 answered on 21 Sep 2012
2 answers
159 views
Hello All,
Greeting of the day!

How we can bind tooltip on x axis label item.
Please suggest me.

I have attached image file have a look this.


Thanks
Viky
Viky
Top achievements
Rank 1
 answered on 21 Sep 2012
0 answers
85 views
Hi All,

Greeting of the day!

I am using radchart control on my page. When page is loading then i am getting following error message:

Error loading Radchart image.
You may also wish to check the asp.net trac for futther details.
Display stack trace?

Please suggest me how i fix this issues.

Thanks
Viky
Viky
Top achievements
Rank 1
 asked on 21 Sep 2012
1 answer
58 views
hello sir i have 1 question and 1 issue,

issue 1
i have been assigned to build an enterprise level CRM , supporting 500 users i would like to know how dependable is the ORM, and are there any performance issues, Please advise.


issue 2.

Also i pasted the follwing code in webform it displays

 

<div class="box"> 

<telerik:RadToolBar runat="server" ID="AboutToolbar" OnClientButtonClicked="buttonClicked"

 Style="z-index: 3000;">

 <Items>

 <telerik:RadToolBarButton Text="Help" CssClass="AboutToolButton" ImageUrl="Images/s.png" />

 <telerik:RadToolBarButton Text="Login" CssClass="DownloadToolButton"

 ImageUrl="Images/s.png" NavigateUrl="" />

 <telerik:RadToolBarButton Text="Support" CssClass="MoreToolButton" ImageUrl="Images/s.png"

 NavigateUrl="" Target="_blank" />

 </Items>

 </telerik:RadToolBar>

</div"> 



it displays ok on a webform

but on a masterpage if wraps to the next line and does not display the #AboutToolBar style from the stylesheet.

Thanks

Regards
Anwar
Plamen
Telerik team
 answered on 21 Sep 2012
3 answers
200 views
Does anyone have a code snippet or example on how to upload an excel file into memory? I don't need to save the file, I just want to process the contents. I'm trying to use the asyncupload component.

Thanks,
Rut
Princy
Top achievements
Rank 2
 answered on 21 Sep 2012
1 answer
104 views
Here is the problem:
I have a radgrid with a child grid. For example: Main grid for companies, child grid for employees of the chosen company. I want to add new employees to a company using the "add new record" button in the child grid's head. I made a nested ascx page with some textboxes and a "save" button. I also need the company ID to save the employees data. How can I access the company ID from the nested ascx view?

Sorry for the bad English,

Thanks,
Shinu
Top achievements
Rank 2
 answered on 21 Sep 2012
0 answers
100 views
Hello!
I'm trying to use RadAjaxPanel in the following scenario:
I have a page with several usercontrols. I tried to just put them all into this RadAjaxPanel, but when i doing this the controls do not respond correctly.
Within these UserControls i have other compontentes like RadGrid, RadTab, etc ...
By involving them with RadAjaxPanel they do not respond properly.
What can it be?
I am doing this because I have many controls on this page. Using RadAjaxManager would be a lot of work because that would handle all the events, which in this case are many ...
What can be done?
thank you
Jorge
Top achievements
Rank 1
 asked on 21 Sep 2012
0 answers
145 views

hi
I hope you could help me on this.

This is my sample:

routes.MapPageRoute("template1", "{name}/template1", "~/area/template1.aspx")
routes.MapPageRoute("template2", "{name}/template2", "~/area/template2.aspx")
routes.MapPageRoute("template3", "{name}/template3", "~/area/template3.aspx")
routes.MapPageRoute("template4", "{name}/template4", "~/area/template4.aspx")
routes.MapPageRoute("template5", "{name}/template5", "~/area/template5.aspx")
routes.MapPageRoute("template6", "{name}/template6", "~/area/template6.aspx")
routes.MapPageRoute("template7", "{name}/template7", "~/area/template7.aspx")
routes.MapPageRoute("template8", "{name}/template8", "~/area/template8.aspx")
routes.MapPageRoute("template9", "{name}/template9", "~/area/template9.aspx")
routes.MapPageRoute("template10", "{name}/template10", "~/area/template10.aspx")
routes.MapPageRoute("template11", "{name}/template11", "~/area/template11.aspx")
routes.MapPageRoute("template12", "{name}/template12", "~/area/template12.aspx")

I have a problem here is that whenever i add a new template say template13.aspx, i would need to add a new line into my global file.

Is there a way that i could just shorten it that represent everything? Thanks a lot

L
Top achievements
Rank 1
 asked on 21 Sep 2012
1 answer
90 views
Hello, 
I'm creating a Custom InlineInsertTemplate and I have to add some RequiredValidator for some fields inside form as follow bellow:

<InlineInsertTemplate>
                                    <telerik:RadTextBox runat="server" ID="txtContato" ValidationGroup="1" CssClass="text-box single-line ui-corner-all">
                                    </telerik:RadTextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="1" 
                                    ControlToValidate="txtContato" Display="Dynamic" ErrorMessage="Campo obrigatório." ForeColor="Red">
                                    </asp:RequiredFieldValidator>
<telerik:RadButton ID="btnSave" CausesValidation="true" ValidationGroup="1" CommandName="Insert" Text="Salvar" runat="server"></telerik:RadButton>
</InlineInsertTemplate>
 

But when I click in my save button, the form cause an postback and not validate my form.

How I do to solve this problem?

Best Regards,

Diego Oliveira

Shinu
Top achievements
Rank 2
 answered on 21 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?