Data Grid editing problem

  • Thread starter Thread starter irvin
  • Start date Start date
I

irvin

This is my first attempt at using Dot Net. I am using WebMatrix to
create the web pages.
I created a data page using the editable datagrid template, and am
able to modify and delete data.
However I would like to be able to allow list type data, and html.
Here are my questions:
1. How do I convert carriagereturn/linefeeds?
2. How do I allow html code to pass through the validator ?

Currently, this:
one
two
three
is displayed like :
[color=green:44498f2133]onetowthree[/color:44498f2133]

And this:
[color=green:44498f2133]one<br>two<br>three[/color:44498f2133]

generates an error in the validator.

Thanks for your help.

Irvin Amoraal. <><
 
Hi Irvin,

This is a group for dataaccess where you are very welcomed to.

However there is a group that is more specialized on the problems you are
mention.

microsoft.public.dotnet.aspnet.
microsoft.public.dotnet.aspnet.datagrid

(When you post to more dotnet groups, please do it using crosspost and not
multipost, in contradiction to a lot of other newsgroups, we like that more
because most of the actives are that in more grooups).

Accoording to your questions.
In an aspnet page (aspx) there is no replacement for the <br>, so that is
still used. (With (I hope I am not wrong in this one) the exception from a
textbox where you can use internal vbcrlf)

The other question about the validator I would ask in that other group also,
the validator is really something for people actibe in this newsgroup.
(Although it is not impossible you get an answer also on that)

I hope this helps?

Cor
 
Back
Top