iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello,
I want customize EditFormTemplate in UXscheduleView and add UXPageableComboBox.
I prepared EditformTempalte, I added UxpageableComboBox, but when I run apllication UXPageableCombobox not appears, i this place is textbox.
What should I do?
RegardsKrzysztof Miętka
The above screenshot shows how to add UXPageableComboBox into the custom editing form of UXScheduleView in WPF project.
Following snippet code shows how to implement this in xaml file.
<Intersoft:UXPage.Resources> ... <Style x:Key="EventDetailStyle" TargetType="Intersoft:UXScheduleViewEventDetail"> ... <Setter Property="EditingFormTemplate"> <Setter.Value> <DataTemplate> <Intersoft:DockPanel FillChildMode="Custom" Margin="4,10,4,2" MinHeight="440" Width="380"> <Intersoft:UXTabControl Intersoft:DockPanel.IsFillElement="True" Style="{StaticResource Editing_TabStyle}" SelectedIndex="{Binding ActiveIndex, Mode=TwoWay}"> <Intersoft:UXTabItem BorderThickness="1,1,0,1" CornerRadius="4,0,0,4" Header="General" MinWidth="85"> <Intersoft:UXItemsControl Padding="6" ItemContainerStyle="{StaticResource HeaderLabelStyle}" > <Intersoft:FieldLabel Header="Subject"> <Intersoft:UXTextBox x:Name="DefaultFocus" BorderBrush="{StaticResource InputBorder}" Text="{Binding CurrentItem.Subject, Mode=TwoWay, ValidatesOnDataErrors=True}"/> </Intersoft:FieldLabel> <Intersoft:FieldLabel> <Intersoft:FieldLabel.Header> <TextBlock Text="Customer" FontWeight="Bold"/> </Intersoft:FieldLabel.Header> <Intersoft:UXPageableComboBox BorderBrush="{StaticResource InputBorder}" /> ...
<Intersoft:UXScheduleView x:Name="SampleControl1" EventDetailStyle="{StaticResource EventDetailStyle}" ...> <Intersoft:UXScheduleDayView /> <Intersoft:UXScheduleWorkWeekView /> <Intersoft:UXScheduleWeekView IsActive="True"/> <Intersoft:UXScheduleMonthView /> </Intersoft:UXScheduleView>
Hope this helps.
Thank you for your response. The problem was that I tried to set the HorizontalAlignment = "Left" in UXPageableComboBox. When I removed this feature. Everything works fine. Once again, thank you very much for your help.
Glad to hear that the snippet code helps.
You may try to set Width property of UXPageableComboBox such as shown in the following snippet code.
<Intersoft:UXPageableComboBox BorderBrush="{StaticResource InputBorder}" HorizontalAlignment="Left" Width="180" />
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname