Re: Gridview Formatting is poor.



Hmm, you might be right.
I guess i need to use some way to invoke a target (is a property) and modify
the url so that the it's not becoming a virtual link.
Frankly, i find it odd that the control not supports a slightly better
handling.
Entering url's without protocol is obvious.

:)


"Patrice" <a@xxxx> schreef in bericht
news:uv50BoCHGHA.3064@xxxxxxxxxxxxxxxxxxxxxxx
> For computed columns, see :
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndive/html/data05312002.asp
>
> This is not at the control level but it is at the data source level so
> that
> you have a computed column that holds the proper value...
>
> Don't know your app but what if someone wants to enter a link to a ftp
> site
> or a newsgroup ?
>
> --
> Patrice
>
> "Edwin Knoppert" <news@xxxxxxxxxxxxxx> a écrit dans le message de
> news:43ce26e9$0$12838$ba620dc5@xxxxxxxxxxxxxxxxxxxxxx
>> There is only a dataformatstring propert accepting {0:} stuff.
>> I read about that yesterday and it seems limitted.
>> Only date and number format.
>>
>> The user which fills in is not interested in a protocol (http://)
>> Even if we added it on update/insert the user is confronted with the
>> protocol which he never entered.
>> Besides i find that result code should be check, not input code.
>> The result code is what is actually used such in this case simply
>> clicking
>> it and results in wrong url.
>> If the format is not able to do this, i'll be forced to stupid eval code
>> with possibly verify if field was empty.
>> O well, only the actual link (href) needs to be modified, not what the
> users
>> sees per se.
>>
>>
>>
>> "Patrice" <a@xxxx> schreef in bericht
>> news:OlAyI7BHGHA.916@xxxxxxxxxxxxxxxxxxxxxxx
>> >I would handle this at the query level (or even when the data is
> entered).
>> > It allows to make sure you have the protocol info instead of relying
> each
>> > time you need it on formatting to get the proper value.
>> >
>> > Not familiar yet with the gridview. Doesn't it support databinding
>> > expression ? In the worst case, you could also add a computed column...
>> >
>> > --
>> > Patrice
>> >
>> > "Edwin Knoppert" <news@xxxxxxxxxxxxxx> a écrit dans le message de
>> > news:43ce1d66$0$12848$ba620dc5@xxxxxxxxxxxxxxxxxxxxxx
>> >> I want to format a hyperlink bounded field.
>> >> Fields *could* have http:// *or not* in the websitename entered.
>> >> I want to format this to http://website.com otherwise i'll get a
>> >> relative
>> >> link.
>> >>
>> >> I know the itemtemplate workarounds or through row events.
>> >> It's that i'm trying to use the internal format stuff itself.
>> >> Is this possible?
>> >>
>> >>
>> >
>> >
>>
>>
>
>


.



Relevant Pages

  • Re: Annulment of Vows - How Recent?
    ... It has a protocol. ... that war indeed has a protocol. ... the proper conclusion is arrived at. ... milchamtah shel Tora. ...
    (soc.culture.jewish.moderated)
  • Re: Protocol
    ... > I hope this is the right place to ask a question about protocol. ... > Is it proper for me to answer whether or not a post has helped me when I ... Many posters have the same problem. ... It is the only payment for the time, and knowledge, given by the ...
    (microsoft.public.windowsxp.general)
  • Re: Skype phones which dont need the pc left on ??
    ... or whaever so the pc does'nt need to be left on? ... You need a "proper" system using SIP or a similar protocol. ...
    (uk.telecom.broadband)
  • Tipping valet parking in Vegas
    ... from the Marriott in Summerlin to the strip, what's the "proper" protocol ...
    (rec.gambling.poker)
  • Re: Using the HMS functions in a user RPL program.
    ... to decide when it's proper to use these functions, ... between Polar and Rectangular coordinates; ... The format itself, however, inherently introduces ...
    (comp.sys.hp48)