Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
188 views
Hi,
   Iam new to Telerik grid.
   1. I have in rad grid in my page where i need to refresh the grid with search data as the paramete changes.
      The problem is iam able to bind the data for the first time only. From the second time onwards even a new datasource is providing the
       grid it is not refreshing.

2.   When iam changing the page index of grid on one result, and when a new datasource is binded to grid then how to rest the gird to the first page.

Thanks & Regards
Akber.
Martin
Telerik team
 answered on 10 Nov 2009
1 answer
112 views
hello,

i hope you can help me
i have a grid in a tab and a formview in another tab, i wish that when something happens on the FV, the grid updates. I make a databind, the update is ok, but the grid form isn't, this collapse and i just can see the headertext and the pagination but not the rows

in the ajaxmanager i have this

<telerik:AjaxSetting AjaxControlID="fmv_FormaDatosFCC_Funcion">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grd_Datos_Filtro"/>
                </UpdatedControls>
</telerik:AjaxSetting>

in the function this

protected void fmv_FormaDatosFCC_Funcion_OnItemInserted(object sender, EventArgs e)
{
        grd_Datos_Filtro.DataBind();
}
Dimo
Telerik team
 answered on 10 Nov 2009
2 answers
164 views
Hello,

I think that some functionality in RadListView is missing.

Regarding grouping. Where is that functionality ?

Why in the world I would like to group my products in pairs ? or by 3 - 4 items ?
I would expect to be able to set grouping expression here, then take advantage of group templates to create "report like" experience.

If would be really nice if we could achieve it.

Now, back to the Repeater :


Roland
Top achievements
Rank 1
 answered on 10 Nov 2009
1 answer
167 views
Hi,

 while exporting to pdf, column alignment  is not clear,  the alignment always defaults to left for items and centre for headers.

 GridItem[] dataItems = grid.MasterTableView.GetItems(GridItemType.Item);



                    // Apply some css style to the data items

                    foreach (GridItem item in dataItems)
                    {

                        foreach (TableCell cell in item.Cells)
                        {



                            cell.Style["text-align"] = "center";

                            cell.Style["vertical-align"] = "middle";

                         

                        }

                    }
 foreach (TableCell cell in headerItem.Cells)
                    {

                       

                        cell.Style["text-align"] = "center";

                        cell.Style["vertical-align"] = "middle";

                      

                    }

even i  put the coding as like above, it does not affected the document,
actually i set ignore paging =true.If i set it as false, it is reflected the changes in pdf

But i have to  set  ignorepaging = true

please help me how to align the columns while exporting to pdf with setting ignorepaging = true.


Thanks for any help

Pavlina
Telerik team
 answered on 10 Nov 2009
1 answer
82 views
Hi everyone,
Perhaps someone could help me to find out why a RadTextBox is impossible to display in a acsx form.
Here is the code :

<

 

td> style="height: 50px; width: 614px;">

 

 

<telerik:RadTextBox ID="Objet" runat="server" Width="640px" Skin="Office2007" EnableViewState="False" />

 


I tried to display a simple <Textbox or an <asp:TextBox but nothing is displayed.
Other control like label, combobox or Radedit are working but no Text.
Last precision, the problem began since i bought the Telerik components, before this worked with free Radcontrol.

Thank you for your help.
Phil
Dimo
Telerik team
 answered on 10 Nov 2009
3 answers
153 views
Hi,

Style is not applying for the RadComboBox, i'm using the user control ResourceControl.ascx  and AdvancedForm.ascx
Plz have a look on the below image
any idea

Regards

Chinnu
Peter
Telerik team
 answered on 10 Nov 2009
1 answer
71 views

Hi

I have some trouble to test my silverlight application on my next project. And I am going to get through it with multipageview control
My situation is below

I have menus on left side of asp.net page. And right side there will be multipageview like contentpaceholder.  some menus linked with external legacy aspx page. some menus linked with page hosting a silverlight application. my clinet want to not install silverlight plugin 
Until enduser click menus which linked with silverlight application. So i decided to use pageview like div html tag 
When end user clicked menu which associated with aspx page  I just like to show aspx page in pageview control like iframe. And When end user clicked menu asscociated with a SL app I'd like to show aspx page hosting SL app and call SL app function via javascript 
this is why i am going to put all page in one SL app . I am going to make javascript and SL function to choose which page should be loaded when end user  clicked menu. I can pass menuId as parameter every time but i think it always make user load SL application 
whenever user click SL asscociated menu So that's not my option. I just want to load aspx page hosting SL app once at first time, 
I'd like to make SL app page changed by just calling javascript when end user click menu  

Any Advice will be appeciated in advance 
Park 

PS : I am not a native English Speaker So Let me know if you don't get what i mean exactly Please .  


 
 
Yana
Telerik team
 answered on 10 Nov 2009
1 answer
180 views
hi, i use RadRotator to display some news. The scroll is automatic and vertical. If a user hoover with the mouse to stop for reading, after removing the mouse cursor the scroll animation start again but the frame scroll to far and we lose a part of the text. Then after that all the other frame are offset. How to avoid that?

Thanks
Fiko
Telerik team
 answered on 10 Nov 2009
1 answer
73 views

Hi 

Good Afternoon Friendz

In Rad Controls for ASP.NET AJAX,
How to Save RadEditor content to aspx page

Here my requirement :


Iam going to set some aspx articles in one folder called aspx Articles folder in my project. so now iam importing images,content,text etc in RadEditor control. then now i want to save all radeditor content into aspx page at save content button click event. save content button is our site of rad editor control but both button and rad cotnrol in one page only.

please give me fast response. it urgent to me.

Thanks & Regards
Nagi Setty A @ EnsisInfo



Rumen
Telerik team
 answered on 10 Nov 2009
1 answer
121 views
I am using code behind to bind the dataset into scheduler and following is my code:

string sql = "select * from Appts where userid=@userid"
 
        QueryCommand cmd = new QueryCommand(sql);         
        int userId = Convert.ToInt32(userDS.Tables[0].Rows[0]["ID"].ToString()); 
        cmd.AddParameter("@userid", userId, DbType.Int32); 
        DataSet ds = DataService.GetDataSet(cmd); 
         
         
        schedulerAppt.DataKeyField = "ID"
        schedulerAppt.DataStartField = "Start"
        schedulerAppt.DataEndField = "End"
        schedulerAppt.DataSubjectField = "Subject"
        schedulerAppt.Attributes["Description"] = "Description"; 
        schedulerAppt.Attributes["CaseId"] = "CaseId"; 
        schedulerAppt.Attributes["TypeId"] = "TypeId"; 
        schedulerAppt.DataRecurrenceField = "RecurrenceRule"
        schedulerAppt.DataRecurrenceParentKeyField = "RecurrenceParentID"
        schedulerAppt.DataSource = ds
        schedulerAppt.Rebind(); 

for some reason, the recurrence appointment does not show up on the scheduler, but non-recurrence appointment works just fine.
Following is the Recurrence Rule string:
DTSTART:20091207T080000Z
DTEND:20091207T083000Z
RRULE:FREQ=DAILY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU


And here is the table structure:
CREATE TABLE [dbo].[Appts]( 
    [ID] [int] IDENTITY(1,1) NOT NULL, 
    [CaseId] [int] NOT NULL, 
    [UserId] [int] NOT NULL, 
    [TypeId] [int] NOT NULL, 
    [Subject] [nvarchar](255) NOT NULL, 
    [Description] [nvarchar](255) NOT NULL, 
    [Start] [datetime] NOT NULL, 
    [End] [datetime] NOT NULL, 
    [RecurrenceRule] [nvarchar](1024) NULL, 
    [RecurrenceParentID] [int] NULL, 
 CONSTRAINT [PK_Appointments] PRIMARY KEY CLUSTERED  
    [ID] ASC 
)WITH (PAD_INDEX  = OFFSTATISTICS_NORECOMPUTE  = OFFIGNORE_DUP_KEY = OFFALLOW_ROW_LOCKS  = ONALLOW_PAGE_LOCKS  = ON) ON [PRIMARY] 
) ON [PRIMARY] 
 
GO 
ALTER TABLE [dbo].[Appts]  WITH CHECK ADD  CONSTRAINT [FK_Appointments_ParentAppointments] FOREIGN KEY([RecurrenceParentID]) 
REFERENCES [dbo].[Appts] ([ID]) 

Please help me out here, I have been working on this issue for 3 days and so far no luck.

Thanks a lot
Alan

Peter
Telerik team
 answered on 10 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?