Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
StringBuilder AppendFormat function
Message
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01292192
Message ID:
01293484
Views:
30
>>>>The difference is that these two fields have validator attached to them. However, why should it affect the visual display? And is there anything I can do?
>>>
>>>Not sure. How is the page layout controlled? Flow layout, absolute positioning or the old table containers ? I've just looked at a page I have (using absolute positioning) where the Validator is implemented as a < span > with hidden=true so I guess it's taking up real estate whether there's an error or not so if it is in a grid cell it will affect its size....
>>>
>>
>>I found an answer on ASP.NET forum. I just had to set Display property of the validator to Dynamic.
>
>Ha - true! But of course you'll still get the difference if the validation fails - but I guess that would be acceptable..
>
>>
>>However, I'm still having problem debugging in the FireFox :( I press Update button and nothing happens.
>>
>>Also I believe the code for the page is implemented incorrectly - but I don't know if I should change it.
>>
>>Currently there is some extra code on Row Updating. In one of the columns there is a list which is going to a separate table. The code is deleting all items for the particular program from the table and adds them for the selected items.
>>
>>Now, since it's not done in the SP, there is a possibility of partial update.
>>
>>I'm wondering how serious the problem is and should I really spend time changing it if the current code seems to work?
>
>Presumably this uses two SQL commands. Why not just wrap them in a transaction? Or maybe the whole page already has a transaction directive?
>
>

AFAIK no, but I'll check. The page has UpdateCommand in SQLDataSource + Row_Updating event handler with the separate Delete/Insert combination.

UPDATE. I don't see transaction directive on the page and I'm not sure how to wrap these commands into transaction since one is UpdateCommand and others are in the code.

>Getting 'Server Unavailable' on that link at the moment :={

Ouch. That means our problems are not yet over :( Let me re-start the live server then.

I may need a new round of consultation with William about our server problems.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform