How can I test for a certain control within a repeater footer to change one of its attributes? here is what I tryed and it didn't work:
protected void Repeater1_ItemCreated(object sender, RepeaterItemEventArgs e)
{
if (e.Item.ItemType == ListItemType.Footer)
{
if...
I'm having a hard time creating the logic for a SqlDataSource binded to a Repeater.
In the other controls this is all done automatically but I need to use the Repeater for formatting purposes.
I have a repeater binded to a table, then a delete button, add textbox and an add button like so...
I want to set forecolor and backcolor of the first button in a repeater control everytime the page loads.
This is what I try
protected void Repeater1_ItemCreated(object sender, RepeaterItemEventArgs e)
{
if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType ==...
Hopefully this is an easy one!
I have a datalist bound to the table "items" which just lists the items.
In the footer template of the datalist I have "New Item" then a textbox and then an "add" button.
I simply want to take the text from the textbox and insert it into the table "items" thus...
VFP6.0
I need to make a wizard-like program...
There are several steps that need to be completed in order.
Steps cannot be skipped!
First I tryed to fit everything on one form.
Everything wouldn't fit! Plus there are some steps that need to be done before others so it was a mess.
Next I tryed...
hey guys.. a little glitch in VFP6.0
make a simple form with a pageframe (2 or more tabs)
then change the properties to show "no tabs"
compile and run... if you click above the top border (where the tabs would normally be) you can still change to different pages!? Why is this? Is this...
This is a case of jealousy!
my best friend upgraded to xp pro
he has
tyan motherboard
1ghz processor
128 sdram
ati radeon
sb live 5.1
and it works fine on his system
I want to upgrade as well.. after playing with xp on his
machine it looks/feels alot better and worthy of the
upgrade but my...
How can I make a wait window be in the exact center of the screen? the language reference refers to WAIT WINDOW AT nRow, nColumn but I have tryed several numbers and they dont seem to corespond to pixels or anything I can think of. I also tryed -1,-1 to no avail. If I do play around with it and...
what am I doing wrong?
I've been on UT looking and the DECLARE statements is all
I can find (only for FindFirstFile and FindNextFile)
here is my code... I did have a FindNextFile call in there but I can't get FindFirstFile to work so I took it out...
the output after running this is an empty...
Simple question with a simple answer (I hope)
but I cant seem to find out how to do it...
...
I have a form with a few text boxes and buttons
I want the user to be able to tab through the text boxes
but NOT through any of the buttons
so I set the TabStop property on all of the buttons
...
the...
I keep loosing my right mouse click popups!?!?
any ideas how to get them back?
It happens some time during design...
Usually the first build I can right click on any textbox and get edit.. copy .. paste etc..
but somewhere along the line I always seem to loose it !!
maybe I am changing some...
I have a huge directory of txt files and I wanted to take the Parenthesis out of the filenames.. but the prob is VFP renames them fine but it messes up the case of the filenames (which is important) so I'm back 2 sqaure 1.. I think removing the parenthesis by hand would be easier than redoing...
possible to change it from VFP?????
right now I just replace the file which means the BG wont change until the next time I reboot (or if I goto control panel it will change)
I defined a menu in my form's init method and it loads fine but how come VFP doesnt initualize the ENABLE/DISABLE of the menu items? BAR defined as....
...
DEFINE BAR 2 OF cd PROMPT "Delete Marked..." ;
KEY ALT+D, "ALT+D";
SKIP FOR .T.
....
the menu shows.... I goto the...
Is there a way to make an Icon really work?
I goto project info...
attatch an icon
re-compile
in windows explorer the icon shows on the .exe in Large Icon view
but if you goto Detail view it shows the FOX ICON!!! aaah!
also if you goto a dialog window (any program.. file.. open..) and view the...
I am gonna start a links page and basically what I wanna do is make the links have ratings... so I want to put links/ranks/description/etc.. in a text file 1 per line and put it on the webserver and then have some kind of script that makes an html page from the data. Is this possible with...
Whats the proper way to create a program
with just one form? I mean starting... running the form.. and exiting..
right now I have a main program
* main.prg
******** various init code (using tables etc..)*****
DO FORM fMyForm
READ EVENTS
CLEAR EVENTS
CLOSE ALL
QUIT
and inside my form I...
I have a "delete" command button that basically calls PACK and deletes marked Grid items...
I want "delete" to only be enabled when there are items marked in the Grid
the delete grid event lets you know when an Item is marked or unmarked but how do you tell which?
right now...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.