From: jibblies wants to high-five your face
 
Date: 6/4/07 @ 6:18 PM
2,451
auto is the default for width 
From: do ok y is the loose cannon your mom warned you about
 
Date: 6/4/07 @ 6:19 PM
2,452
But is it something you can specify? What's the point of an auto width'd div? 
From: jibblies wants to high-five your face
 
Date: 6/4/07 @ 6:21 PM
2,453
Its the only way you can declare the default and override a style if you set ALL divs to a specific width. 
From: do ok y is the loose cannon your mom warned you about
 
Date: 6/4/07 @ 6:22 PM
2,454
Who does that????

The only thing I figured a div automatically does was adjust to it's parent. 
From: geodave Damn Nelson Mandela you smell so good! Also, fuck you.
 
Date: 6/5/07 @ 12:01 AM
2,455
Jibblies said:

Its the only way you can declare the default and override a style if you set ALL divs to a specific width.


He's a UI Engineer.

Who the fuck are you? 
From: do ok y is the loose cannon your mom warned you about
 
Date: 6/5/07 @ 1:03 AM
2,456
Shouldn't you be out chasing rocks? 
From: egojab or as Coach Z would call him, egojarb!
 
Date: 6/5/07 @ 8:20 AM
2,457
Shouldn't you be out chasing rocks?


shouldn't you be learning how to do your job properly? 
From: wapped
 
Date: 6/5/07 @ 8:28 AM
2,458
shouldn't you be learning how to do your job properly?

Shouldn't you be back in the Lost thread pissing people off? 
From: egojab or as Coach Z would call him, egojarb!
 
Date: 6/5/07 @ 8:39 AM
2,459
Shouldn't you be back in the Lost thread pissing people off?


damn, you're right, I should 
From: kackygreen has got a hubcap diamond star halo
 
Date: 6/5/07 @ 1:08 PM
2,460
egojab said:

damn, you're right, I should


oh crap =p 
From: silentcry ... I got nothing
 
Date: 6/5/07 @ 1:10 PM
2,461
anybody here ever worked with Smarty ? 
From: jibblies wants to high-five your face
 
Date: 6/5/07 @ 1:27 PM
2,462
Me. 
From: silentcry ... I got nothing
 
Date: 6/5/07 @ 1:57 PM
2,463
of course you have..

alright real quick, if I'm passing a variable which contains a filename, is there a way i can get that info in smarty ? I haven't seen any file functions.. 
From: silentcry ... I got nothing
 
Date: 6/5/07 @ 2:05 PM
2,464
actually.. nevermind.. I just figured out a simple way of doing it .. 
From: jibblies wants to high-five your face
 
Date: 6/5/07 @ 3:54 PM
2,465
I'm in the mood to jump ship.
Who has enough freelance work to keep me going while I make the switch to a new job? :D 
From: do ok y is the loose cannon your mom warned you about
 
Date: 6/5/07 @ 3:59 PM
2,466
I do, but it's all mine. 
From: Sekka got lost in Yemen and bought a mountain goat
 
Date: 6/5/07 @ 4:00 PM
2,467
I love Smarty. A lot of people diss it but it works really well at seperating application and design. 
From: jibblies wants to high-five your face
 
Date: 6/5/07 @ 4:02 PM
2,468
I do, but it's all mine.

You're a gay designer. I was looking for real man work. 
From: Sekka got lost in Yemen and bought a mountain goat
 
Date: 6/5/07 @ 4:05 PM
2,469
Jibs, you US or UK? We're looking for an ASP developer.

http://www.thnk.co.uk/jobs/aspnetdeveloper/ 
From: do ok y is the loose cannon your mom warned you about
 
Date: 6/5/07 @ 4:07 PM
2,470
Jibblies said:

You're a gay designer. I was looking for real man work.


that cut..deep. 
From: jibblies wants to high-five your face
 
Date: 6/5/07 @ 4:11 PM
2,471
I'm in the US.. 
From: jibblies wants to high-five your face
 
Date: 6/5/07 @ 4:12 PM
2,472
MVP = Model View Presenter.
TDD = Test Drive Design (not really a pattern).
IoC = Inversion of Control.

When do I start? heh 
From: Sekka got lost in Yemen and bought a mountain goat
 
Date: 6/6/07 @ 2:30 AM
2,473
TDD = Test Driven Design (not really a pattern).

Actually, I would say it is. 
From: jibblies wants to high-five your face
 
Date: 6/6/07 @ 8:02 AM
2,474
I guess in a broad sense it is. All of the patterns are test driven designs.. that's how they became patterns :P 
From: Sekka got lost in Yemen and bought a mountain goat
 
Date: 6/6/07 @ 8:20 AM
2,475
I love TTD. When I first heard about it, I was like "What? Fuck off". Now, can't live without it. Well, I could, I would just rather not. 
From: entropic is revelling in your decay
 
Date: 6/6/07 @ 8:33 AM
2,476
I could do that job... but I'm in the US too. 
From: jibblies wants to high-five your face
 
Date: 6/6/07 @ 9:11 AM
2,477
Sekka, tell your bosses they should open a US office. mmk? 
From: entropic is revelling in your decay
 
Date: 6/6/07 @ 9:17 AM
2,478
Yea... then me and Jibblies can spring the coop we're in. I know AJAX too if that helps. 
From: jibblies wants to high-five your face
 
Date: 6/6/07 @ 9:19 AM
2,479
My skillset:

C#
PHP
Javascript
VBScript
Coffee
Smoking
Energy Drinks

Those last 3 have to count for something. 
From: jibblies wants to high-five your face
 
Date: 6/6/07 @ 9:20 AM
2,480
I can parse xml like a motherfucker too! 
From: entropic is revelling in your decay
 
Date: 6/6/07 @ 9:22 AM
2,481
mine is pretty much the same as yours jibb - only throw in css, vb.net and asp. oh.. and get rid of the smoking part. 
From: jibblies wants to high-five your face
 
Date: 6/6/07 @ 9:24 AM
2,482
I can do the whole html/css thing too.. I'd just rather have a designer do it. hehe 
From: do ok y is the loose cannon your mom warned you about
 
Date: 6/6/07 @ 9:24 AM
2,483
hmmm?

/looks around all meercat like 
From: entropic is revelling in your decay
 
Date: 6/6/07 @ 9:24 AM
2,484
isn't that what they're there for? 
From: entropic is revelling in your decay
 
Date: 6/6/07 @ 9:45 AM
2,485
So I figure I'll ask just for the sake of asking.

I'm using ASP.NET 2.0, C#. I want to dynamically add fields to the DataKeyNames attribute of the gridview. Anyone know how to do it? 
From: herbalised is cumin and it's about thyme
 
Date: 6/6/07 @ 9:48 AM
2,486
Sekka said:

Jibs, you US or UK? We're looking for an ASP developer.

http://www.thnk.co.uk/jobs/aspnetdeveloper/


Damn, I'd be all over that if it was VB not C# :( 
From: entropic is revelling in your decay
 
Date: 6/6/07 @ 9:51 AM
2,487
There's really no difference between VB and C#, except on how to declare variables, and create subroutines. 
From: jibblies wants to high-five your face
 
Date: 6/6/07 @ 9:55 AM
2,488
VB syntax is lame, though.

I'm using ASP.NET 2.0, C#. I want to dynamically add fields to the DataKeyNames attribute of the gridview. Anyone know how to do it?

I ran into a similar problem like this about a month ago. I got around it by using a listbox that had the potential keys to add.. and a button used to refresh the grid with the new datakeynames.
Easiest way I could find around the problem.. the default gridview sucks balls. 
From: plasman doesn't use caps
 
Date: 6/6/07 @ 10:06 AM
2,489
i need to get a website again before i forget how to code as im only working on two sites atm and both are not really all that complex...gotta find hosting and think of a new website domain as mine in all forms got taken :( 
From: entropic is revelling in your decay
 
Date: 6/6/07 @ 10:10 AM
2,490
I ran into a similar problem like this about a month ago. I got around it by using a listbox that had the potential keys to add.. and a button used to refresh the grid with the new datakeynames. Easiest way I could find around the problem.. the default gridview sucks balls.


That would work if I let the user set the datakeys - but this should be seamless. I found this page: http://www.dotnetjohn.com/articles.aspx?articleid=181, so I guess I'll have to do something similar to that. 
From: Sekka got lost in Yemen and bought a mountain goat
 
Date: 6/6/07 @ 10:31 AM
2,491
Sekka, tell your bosses they should open a US office. mmk?

Could be sooner rather than later... 
From: jibblies wants to high-five your face
 
Date: 6/6/07 @ 10:32 AM
2,492
Huh? That's a page on arrays. 
From: entropic is revelling in your decay
 
Date: 6/6/07 @ 10:35 AM
2,493
Right, and the DataKeyNames is a string array whieh populates the datakeys. Basically if I create my own dynamic string array - then pass that to the DataKeyNames property, everything works itself out.

Behold:

ArrayList dataKeys = new ArrayList();
dataKeys.Add("BROKER_SEQ_NO");

for (int j = 1; j <= ((int)ViewState["SubCatCount"]); j++)
{
            dataKeys.Add("VSC_SEQ_NO" + j.ToString());
}

grdVoting.DataKeyNames = (String[])dataKeys.ToArray(typeof(string));


Works perfectly for what I need it to do. 
From: jibblies wants to high-five your face
 
Date: 6/6/07 @ 11:36 AM
2,494
Ah, I see what you were getting at now.
I thought you had just mislinked the page or something. 
From: do ok y is the loose cannon your mom warned you about
 
Date: 6/6/07 @ 2:25 PM
2,495
Sndbox WordPress design competition.

I'm going to win. 
From: egojab or as Coach Z would call him, egojarb!
 
Date: 6/6/07 @ 2:32 PM
2,496
I'm going to win.


not if you can't figure out how to use css properly 
From: do ok y is the loose cannon your mom warned you about
 
Date: 6/6/07 @ 2:35 PM
2,497
Leave it to one Fazer to completely try and ruin the mood, just watch. I'll be in the top 3. 
From: silentcry ... I got nothing
 
Date: 6/6/07 @ 2:43 PM
2,498
that's not the same as winning.. 
From: clives has new tailtag
 
Date: 6/6/07 @ 3:05 PM
2,499
Why does everyone seem to enjoy pissing on you so much, dooky? 
From: jibblies wants to high-five your face
 
Date: 6/6/07 @ 3:19 PM
(more) 2,500
Why does everyone seem to enjoy pissing on you so much, dooky?

Try it.. its exhilarating. 
forum | login | new user | top