For example when using a gridview. When you specify the columns
BoundField for example won't work if you are binding it to a field instead of a property.
I guess this is so because when the gridview is looking for the DataField property it looks for a property and not a field. Now the question is how can i change this behavior to make ...
Hello. I have a string with 16 alphanumeric characters, e.g. F4194E7CC775F003. I'd like to format it as F419-4E7C-C775-F003.
I tried using
string.Format("{0:####-####-####-####}","F4194E7CC775F003");
but this doesn't work since it's not a numeric value.
So I came up with the following:
public class DashFormatter : IFormatProvider, ...
Hi,
I'm implementing a game loop with constant FPS. I'm thinking about 25-30 FPS should be enough.
Any ideas from your own experience? Should I even restrict FPS at all?
Thanks in advance!
...
Hi.
I have recently installed the aspnetdb and have been customizing
it for the purposes of my application design. I have extended the ASPNET
providers as part of my class design: MyMembershipProvider, MyProfileProvider,
and MyRoleProvider. Everything works well there.
Now, per the requierments of my system, I need to add custom dat...
Is there any way trac could be made to work with a custom mail tool?
For example, imagine a command line script which takes all of it's arguments from it's command line arguments:
script -s sender -t title -to [email protected] -b body
The tool is configured to use COM for email sending, and I think it would be impossible to define ...
I'm making a custom MembershipProvider and RoleProvider.
I have database tables with Roles and UsersInRoles and I use LINQ-to-SQL to create objects of the tables.
When invoking [Authorize] on an action method, will it work with my custom RoleProvider?
How does it know if the user is authenticated and if the user is in the appropriate r...
Hi all
I made a custom page and added it to a MOSS 2007 site.
the custom page has an update panel and some ajax controls
when I'm logged in as an administrator with full control permissions, the page works fine.
but if another user with even Full control permission logs in and browse the page, an error appears:
The control with ID 'Upda...
Hey Everyone,
I am trying to customize the $head variable in my page.tpl.php template, because there are two instances of
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
appearing, which I believe is affecting the site from being validated u...
i have implemented a custom class loader to securing my application
but when i load an encrypted class java throws
IllegalAccessError
but i sure that decryption is done accuratly because i have put decrypted class file
in some where and compared it with the original class file.
according to java documentations about IllegalAccessError
...
Could anyone advise how to use custom observer or events/callbacks in Ruby on Rails?
I have tried both these posts:
http://www.mutuallyhuman.com/2009/1/6/using-custom-activerecord-events-callbacks
and
http:// alexkira.blogspot.com/2008/10/custom-observer-callbacks-in-rails.html
none seems to be working. On the second post, I put Alex ...
ok here is a great question. I have a set of generic custom fields that are highly configurable from an end user perspective and the configuration is getting overbearing as there are nearly 100 plus items each custom field allows you to perform in the areas of Server/Client Validation, Server/Client Events/Actions, Server/Client Bindings...
Hi,
I have a custom window (matt gemells Transparent Window class) and I need to change the window's alpha value to achieve a fade in/out effect and perform a "makeKeyAndOrderFront:".
However this does not work.
What I did:
I imported the header:
#import "TransparentWindow.h"
Then tried:
[TransparentWindow setAlphaValue:0.5];
[...
Can't seem to bind to data from within a custom component. I've tried BindUtilis and {} but can't seem to fathom it out. Here's what I've got:
I have a class DataModel which has been made bindable
Within Mainn.mxml I have two components: DataGrid (used for testing) & CustomComponent (which extends Canvas)
When the data within DataMod...
I tried this code for customizing the screen size.. But it works well this 2.2.1 but it doesn't work with sdk 3.1.2..Its showing some error as windows count beyond bound.. can anyone tell me how to this in 3.1.2. else is there anyother method to customise the screen in 3.1.2. plz help. thanks
NSArray *windows = [[UIApplication sharedApp...
Hi,
I'm having an entity object called Patient and this entity is having a property called Visits which is of type VisitsCollection.
VisitsCollections is a child class of IList<Visit> but it also adds some custom logic to the collection (like auto ordering, some validation, notifications, etc..).
I need to use the custom collection ty...
Hi,
I want to create a Custom Action for my installer that checks to see if Outlook is running and if it is, it prompts the user to close Outlook before continuing.
Everything works great except that when the MessageBox appears informing the user they must close Outlook, it appears behind the current MSI installation window. I'd like t...
I've inherited from an ASP.NET WebControl to add some additional functionality. I tested my control in a blank ASP.NET Web Site (created through File > New Web Site...) and it worked fine. But I can't get it to work when I add it to a Web Application Project (created throgh File > New Project... > Visual Basic > Web > ASP.NET Web Appli...
Hi!
I have a custom user control named DatePicker.xaml. Its code behind is DatePicker.xaml.cs:
namespace GesHoras.UserControls
{
/// <summary>
/// Lógica de interacción para DatePicker.xaml
/// </summary>
///
public partial class DatePicker : UserControl
{
<...>
private int _day;
private int _year;
private int _month...
Hi There.
I need a for a project i'm working on a button similar to the one the Mail app use to display the a contacts.
If you don't see what i'm talking about, please see this image: http://www.aboutptc.net/theButtonIneed.png
Thanks in advance.
...
Hi All,
I am having a little difficulty with a generic template for my extended progress control. Basically, the template consists of a grid, with some text information and the actual progress bar.
It works fine, except for when I want to switch to vertical orientation. Everything appears to be rotated correctly, but I get no progres...