I'm developing an application in C# (Windows Forms), which uses Mono to run on Mac OS X.
It contains some dynamic controls, for example a custom groupbox which contains some labels and textboxes, a button, etc.These boxes can both be added and removed dynamically.
My CustomGrpBx inherits from GroupBox and this is the contructor I use:
...
I have an application that can load various graphical file formats such as bmp, jpg, png, emf, etc... and render them onto the screen for previewing.
I am using Delphi 7. I have just been introduced to the EMF+ file format that was created around the time of Windows XP that is created utilizing the GDIPlus.dll. I can open the EMF+ file...
I want to be able to apply opacity to some elements to make them invisible only if javascript is enabled. I don't want to use display:none because I want the layout to act as if they're in the DOM, so setting opacity to 0 is perfect.
I want to be able to set this initial value using Javascript, using JQuery, so I don't have to mess wit...
Hello!
I have such situation - I'd like to build timeline control. So I have UserControl and ItemsControl on it (every row represents some person). The ItemsControl contains another ItemsControl as ItemsControl.ItemTemplate - it shows e.g. events for the person arranged by event's date.
So it looks as some kind of grid with dates as a...
Hi,
Please let me know that how can I create a custom render extension in SSRS 2008. I have created it in SSRS 2005, but when I try using the same code in SQL Serever 2008, it does not work.
The IRenderingExtension interface doesnot seem to be compatible with 2008.
It gives the following compilation error:
Class 'Renderer' must imple...
Could someone provide an example of how to dynamically create an image in Java, draw lines et cetera on it, and then draw the image so that areas not painted will remain transparent in the drawing process?
...
I have a middleware that does some processing. On certain conditions it raises an exception and the user sees my 500.html template - correctly responding to 500 http status.
Now, on some exceptions I would like to render different template than default 500.html. Is it possible/how to achieve that?
...
Hello all,
My current project requires me to assemble a .zip file containing HTML and text-only templates for a user to download, for importing into an email marketing program.
I've inherited this project, and currently the code uses a "fake" model (that is a model that does not directly correlate to a database table), in which it stor...
I am using OpenGL for a 2D graphing application. I have recently started having strange problems with the UIView that displays the GL render buffer.
Sometimes (40% of the time?) when it initialises, the view is in a frozen state, occasionally displaying artefacts of the last successful running of the program.
The rest of the program is...
Here's the scenaio, I have an Employee object and a Company object which has a list of employees.
I have Company.aspx which inherits from ViewPage<Company>.
In Company.aspx I call
Html.DisplayFor(m => m.Employees).
I have an Employee.ascx partial view which inherits from ViewUserControl<Employee> in my DisplayTemplates folder.
Eve...
Hi,
I'm having some troubles finding out how i can render an offscreen texture to the
screen.
Can anyone help me with pointing me in the right direction?
Thx
...
Is it possible to generate lists with display tag?
I would like to use it to produce something like:
<ul>
<li>Coffee</li>
<li>Milk</li>
</ul>
with one
<li>
entry per each item on my list.
Is that possible?
...
How do I test this:
render view: "create", model: [user: user]
I know how to test redirectArgs and stuff, but I can't find an example to test something like this. It seems like articles and stuff go out of their way to not test this....
...
Hi,
I have saw some time ago library where you can import your 3d objects and it will draw those out. You could also animate the objects.
The webpage itself was back and there were rotating gear at the corner...
Can anyone recall the name of the library?
Also you can mention if you know some other neat js libraries.
Thanks!
...
Heyy there,
i have for example a view function like this:
def profile_view(request, id):
u = UserProfile.objects.get(pk=id)
return render_to_response('profile/publicProfile.html', {
'object_list': u,
},
context_instance=RequestContext(request))
and the url:
url(r'^profile_view/(?P\d+)/$',
...
I'm trying to re-use an html component that i've written that provides panel styling. Something like:
<div class="v-panel">
<div class="v-panel-tr"></div>
<h3>Some Title</h3>
<div class="v-panel-c">
.. content goes here
</div>
<div class="v-panel-b"><div class="v-panel-br"></div><div class="v-panel-bl"></div...
Hello everyone, i am trying to use mustache.js to render some JSON in the browser.
What i want to do is:
<li>
<span class="label">Location: </span>
{{#locations}}
{{.}}<span class="social-small-size "></span>
{{/locations}}
</li>
The locations is a js array
[["Pendéli, Attiki, Greece", "facebook"], ["Greece", "linkedin...
In my website toolbar's I would like to display the number of unread messages in a red circle,
So I think the best way is to create a method in ApplicationController named update_notification :
def update_notification
@notification = 42
# 42 is just for test
end
and in application.html.erb, I display :
<%= render :par...
I'm trying to figure out how to draw graphics in XNA, and someone else suggested this.
But before I attempt to use this...
If I create and use this camera, and set LEFT,TOP to 0 and WIDTH=256 and HEIGHT=240, anything I render to the screen will use these coordinates? So a box with a width and height of 1, if set to 0,0 will take up spa...
I am trying to style an rss feed using xslt. I want to display an image that is stored in the tag on the feed. The problem is it is encoded to display as text on the page instead of being rendered. The following is an example of part of the string.
1). <description><img src="http&#58;&#47;&#47;buavhw.blu.livefilestore.co...