Click here to Skip to main content
16,011,702 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: encryption Pin
Sarvesvara (BVKS) Dasa16-Feb-03 18:54
Sarvesvara (BVKS) Dasa16-Feb-03 18:54 
GeneralRe: encryption Pin
Vasudevan Deepak Kumar17-Feb-03 18:37
Vasudevan Deepak Kumar17-Feb-03 18:37 
GeneralRe: encryption Pin
Sarvesvara (BVKS) Dasa17-Feb-03 22:56
Sarvesvara (BVKS) Dasa17-Feb-03 22:56 
Generalmeta tags Pin
Sarvesvara (BVKS) Dasa15-Feb-03 2:18
Sarvesvara (BVKS) Dasa15-Feb-03 2:18 
GeneralProblem with Html Dropdown and JavaScript Pin
Vasudevan Deepak Kumar14-Feb-03 19:35
Vasudevan Deepak Kumar14-Feb-03 19:35 
GeneralRe: Problem with Html Dropdown and JavaScript Pin
Jonavis19-Feb-03 22:26
Jonavis19-Feb-03 22:26 
Generaltwo simple questions: DataGrid Pin
devvvy14-Feb-03 18:06
devvvy14-Feb-03 18:06 
GeneralRe: two simple questions: DataGrid Pin
Jeremy Oldham15-Feb-03 6:24
Jeremy Oldham15-Feb-03 6:24 
norm,

On question 1, you need to invoke a helper function in the code behind. You will have to set Autogenerate columns to false to customize the datagrid. Something similar to the following:

--.aspx page in the item template tag
<code><%# functionname(databinder.eval(container.dataitem("columnname")) %></code>

--code behind (sorry, but I am most familiar with VB)

<code>Function functionname(variable as string) as string
  If variable = 1 then
    return html code to generate the delete link
  else
    return "nbsp"
  End IF
End Function</code>

On questions 2, you would need to add a reference the code behid file to the html table and add attributes to that table.

<code>
Dim td1 as HTML.Column(????)
td1.Attributes.Add(onmouseover, "javacode")
</code>

I am not 100% sure on the syntax of this one, since I am trying to write this from memeory and I haven't done a lot of java coding yet in my applications, but take a look at the attributes add portion and it should point you in the right direction.

Hope this helps. Smile | :)



Jeremy Oldham

P.S. Did you ever get the problem with the cursor fixed?
GeneralRe: two simple questions: DataGrid Pin
Anonymous15-Feb-03 17:55
Anonymous15-Feb-03 17:55 
GeneralRe: two simple questions: DataGrid Pin
Jeremy Oldham15-Feb-03 18:21
Jeremy Oldham15-Feb-03 18:21 
GeneralRe: two simple questions: DataGrid Pin
Jeremy Oldham16-Feb-03 8:27
Jeremy Oldham16-Feb-03 8:27 
Generaltried the code... same old problem remained unresolved... help! Pin
devvvy17-Feb-03 4:35
devvvy17-Feb-03 4:35 
GeneralRe: tried the code... same old problem remained unresolved... help! Pin
Jeremy Oldham17-Feb-03 14:29
Jeremy Oldham17-Feb-03 14:29 
GeneralRe: tried the code... same old problem remained unresolved... help! Pin
devvvy17-Feb-03 19:40
devvvy17-Feb-03 19:40 
GeneralRe: tried the code... same old problem remained unresolved... help! Pin
devvvy17-Feb-03 19:54
devvvy17-Feb-03 19:54 
GeneralHelp! error: Object required "this" Pin
devvvy17-Feb-03 22:13
devvvy17-Feb-03 22:13 
GeneralRe: tried the code... same old problem remained unresolved... help! Pin
Jeremy Oldham18-Feb-03 6:47
Jeremy Oldham18-Feb-03 6:47 
GeneralRe: tried the code... same old problem remained unresolved... help! Pin
devvvy18-Feb-03 13:04
devvvy18-Feb-03 13:04 
GeneralRe: tried the code... same old problem remained unresolved... help! Pin
devvvy18-Feb-03 15:24
devvvy18-Feb-03 15:24 
GeneralRe: two simple questions: DataGrid Pin
devvvy17-Feb-03 20:43
devvvy17-Feb-03 20:43 
QuestionAdding video to the Web page?? Pin
Kant14-Feb-03 13:26
Kant14-Feb-03 13:26 
AnswerRe: Adding video to the Web page?? Pin
devvvy17-Feb-03 4:30
devvvy17-Feb-03 4:30 
QuestionHow does one go about proposing a new HTML tag? Pin
Ray Cassick13-Feb-03 5:18
Ray Cassick13-Feb-03 5:18 
AnswerRe: How does one go about proposing a new HTML tag? Pin
leppie13-Feb-03 6:56
leppie13-Feb-03 6:56 
GeneralRe: How does one go about proposing a new HTML tag? Pin
Ray Cassick13-Feb-03 6:59
Ray Cassick13-Feb-03 6:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.