Hi All, I am developing something for a client and I urgently need this solved. My client has a Magento store, which has several categories (say CatA and CatB). If someone purchases an item from CatA, I need Magento so send an email to admin@example.com. Is this possible? If so, how could I do it? *Thanks*

Member Avatar
+0 forum 0

Hello! I'm trying to fill a Crystal Reports in a generic way. This is because I don't have direct access to the database, I just call a service that returns a DataTable. I'm no expert in C# or Crystal Reports, is there any way to fill a Crystal report without knowing the columns I'm receiving? This is what I've tried so far: dt = new DataTable(); dt = getData(); var rpt = new ReportDocument(); rpt.Load(@"CrystalReport1.rpt"); rpt.SetDataSource(dt); crystalReportViewer1.ReportSource = rpt; var paramFields = new ParameterFields(); var paramField = new ParameterField {Name = "col1"}; var paramDiscreteValue = new ParameterDiscreteValue {Value = "Descripcion"}; …

Member Avatar
+0 forum 0

I'm trying to create some custom styles/control templates for WPF. The only control that seems to be giving be any issues (so far) is the ScrollViewer: <Style x:Key="{x:Type ScrollViewer}" TargetType="ScrollViewer"> <Setter Property="OverridesDefaultStyle" Value="True"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="ScrollViewer"> <Border Background="#404040"> <Border BorderBrush="#808080" BorderThickness="1" Margin="4"> <Grid > <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <ScrollContentPresenter Name="PART_ScrollContentPresenter"/> <ScrollBar Grid.Column="1" Name="PART_VerticalScrollBar" Orientation="Vertical" Value="{TemplateBinding VerticalOffset}" Maximum="{TemplateBinding ScrollableHeight}" ViewportSize="{TemplateBinding ViewportHeight}" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"/> <ScrollBar Grid.Row="1" Name="PART_HorizontalScrollBar" Orientation="Horizontal" Value="{TemplateBinding HorizontalOffset}" Maximum="{TemplateBinding ScrollableWidth}" ViewportSize="{TemplateBinding ViewportWidth}" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"/> </Grid> </Border> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> When I add a ListBox, and ~70 items (just ListBoxItems with …

Member Avatar
+0 forum 0

Hello Daniweb! I'm an amateur programmer who's learned quite a bit from online references, and usually searching eventually reveals the problem but I'm stuck! I've overcome many obstacles when creating a custom button on the Ajax Editor control, namespace issues, registring the controls properly etc. I resist the temptation to ask for help because the errors should lead me in the right direction. Now I get no errors, but the control isn't visible! The tag is in the .ASP page and I even set the width, height and visible tags in case it's being hidden but nothing shows up. This …

Member Avatar
+0 forum 0

I'm creating a custom `ComboBox` that allows the user to select a date; the calendar display is localized making the built-in `DateTimePicker` undesirable (see [here](http://support.microsoft.com/Default.aspx?scid=kb;en-us;889834&x=18&y=19) for more information). I need the UI control to mirror the look and feel or the existing components. Here's what I've tried and the problems I've encountered: * Using a `TextBox` with a drawn `ComboBox` button: I've tried using `ComboBoxRenderer.DrawDropDownButton` but the look and feel does not mirror the existing UI controls. In particular we don't have `Application.EnableVisualStyles()` so the buttons have a Windows 98 look and feel. `ComboBoxRenderer` draws a glossy grey button. * …

Member Avatar
+0 forum 0

I'm trying to create a wx.ListCtrl with a searchable header. I've been looking through the listctrl mixins, but I really don't have the wx expertise needed. I'm thinking I need to paint a textctrl using a dc object, but other than that I'm lost. Any ideas?

Member Avatar
+0 forum 0

im creating a custom component .how to create a property that has to choose a file(lets say image) from my hard disk ??

Member Avatar
+0 forum 0

hello, i just want to know what is the need that we make a custom tag...i know that its for reusebility..but i want some examples where should i use them. thanks

Member Avatar
+0 forum 0

Hi guys, I am trying to create a edit control, with pure win32. When the return key is pressed I would like it to run a section of code. I have tried getting it to handle the return key message through the main windows message handler. Unfortunately that causes it to play a sound every time I press the return key instead of running the code... Would I be right in thinking that I should create a custom control and handle the message through a custom message handler, or is there a better way of doing this entirely? Thanks for …

Member Avatar
+0 forum 0

Hello, First of all, I would apologize about my english which is not very good ;) I'm a newbie in .NET, and I hope my code is correct :) I'm on a project which consist of going on websites and retrieiving informations based on the 'criterias' the user has given to the program. My main form contains 2 custom user controls. The first UserControl manages the criterias, it contains a textbox (multiline) where the user enter the criterias and a ListBox which contains the criterias the user has confirmed. The second one, contains checkboxes dynamically generated regarding the number of …

Member Avatar
+0 forum 0

Hi, Again I am trying to do a simple thing but with joomla it is advanced. What I want to make is to show articles on front page in the way like it is in the atached picture. You can see the red bracked on the left. There is 3 columns and two lines. Each is from different category. How with Joomla can I print arcticle from the one category to one are, from another category - to another area, from third category to third area and so on? I have html and css styling, just need to put it …

Member Avatar
+0 forum 0

Hi, I've made a custom month view calendar control but I'm having a problem in my custom day event drag code. I don't use any of the drag and drop in winforms, basically I just override the OnMouseDown, OnMouseUp, OnMouseMove methods and listen for appropriate actions to get my own drag and drop working. It works like a charm but when I implemented something like an expand button that shows all the hidden events and made it to be able to handle drag and drop in the same way as the underlaying calendar control, I found a problem. The [B]hidden …

Member Avatar
+0 forum 0

hi, i want to create a custom gridview control with paging, sorting and filtering. I tried a lot of for it , but didnt get it correctly. Can you give me the code for it. thanks in advance, sreevidya

Member Avatar
+0 forum 0

Im trying to customize the Contact Card that appears on the Office Communicator 2007. The default information about the pesron that appears on the Contact Card is not enough and would like to include some more information. I've downloaded the API and also looked into adding custom tabs using an xml file, but that is not exactly what im looking for. Moreover i think that is available only in the R2 version. Another alternative i tried was by using 'absconfig.exe' which comes with OC Resouce kit tools. For some reason the file throws an exception and doesnt run. Not sure …

Member Avatar
+0 forum 0

The End.