Jump to content
Xtreme .Net Talk

Muhad

Avatar/Signature
  • Posts

    40
  • Joined

  • Last visited

Everything posted by Muhad

  1. Muhad

    drill down

    Thanks for posting that link. This is exactly what I am trying to do. I have a headache! lolol
  2. First let me say I am just a novice with .net. Below is code as to how I put fields together in one column. I am not sure this is the best way but it does work. In --> DataGrid1_ItemDataBound... For i = 0 To DataGrid1.Items.Count - 1 If myDataSet.Tables(0).Rows.Count > 0 And DataGrid1.Items.Count > 0 Then ''DataGrid1.Items(i).Cells(0).Text = "<img border='0' src='Images\arrow_right.gif' height='16' width='16'>" DataGrid1.Items(i).Cells(1).Text = "<img border='0' src='" & myDataSet.Tables(0).Rows(i).Item("Smiley") & "' height='16' width='16'>" ' Works strdatajoin = "<a href='Details2.aspx?Name=" strTildeQuote = myDataSet.Tables(0).Rows(i).Item("Name") strTildeQuote = strTildeQuote.Replace("'", "~") strdatajoin = strdatajoin & strTildeQuote strdatajoin = strdatajoin & "&Category=" strdatajoin = strdatajoin & myDataSet.Tables(0).Rows(i).Item("Category") strdatajoin = strdatajoin & "'><font color='#008B8B' weight='bolder''>" strdatajoin = strdatajoin & " >> " & myDataSet.Tables(0).Rows(i).Item("Name") strdatajoin = strdatajoin & "</font></a>" strdatajoin = strdatajoin & strbreakline strdatajoin = strdatajoin & "<font color='#363636'>" strdatajoin = strdatajoin & myDataSet.Tables(0).Rows(i).Item("Text") & "</font>" DataGrid1.Items(i).Cells(4).Text = strdatajoin End If Next i
  3. Whether we use .net, html, etc, what Ecommerce Software is available as a package for proccessing orders, etc?
  4. No editing is required. My problem is I don't know how to write the code to put the datagrid inside the other datagrid's cell.
  5. I am trying to create a master/detail datagrid. A selected line would expand and show the detail.
  6. Would you kindly elaborate on those methods? When would each be required to use? Thanks.
  7. Check out Homesite
  8. How is this done? I am used to grids in VB6 which fire their events all the time. This grid seems to only fire a few but the others never seem to fire at all. What's the secret? loololol I need this event to fire --> DataGrid1_EditCommand
  9. Use could try using 'Select Distinct blah,blah,blah'.
  10. I have a 'Multiline Textbox' (Textmode) that always fails the validation of just a length check using '\w{10,500}'. When I change this textbox to be 'Single Line' is works ok. Any ideas on length checking a multiline textbox?
  11. I used If IsNothing(Session.Item("tttLoginStatus")) Then
  12. Thanks, appreciate the help.
  13. I have a Web form that is very long so the vertical scrollbar shows up. OK! When at the bottom of the Web page I want a button to jump to the top again and a button at the top to jump to the bottom. How can this be done? I can't find any way to access the vertical scrollbar properties.
  14. I just figured it out. Seems to be ok. Entry must be from 10 to 40 characters. \w{10,40} Thanks all!!
  15. I had checked out the RegularExpressionValidator but I couldn't come up with an expression to test the length of a text box. Do you have any ideas how to make a lenght expression? Thanks. I can see I still have a lot to learn.
  16. I don't have any <script></script> code!
  17. I am trying to use both on the same field. I have seen examples of validator classes but I can't get them to work yet. I am new to vs.net.
  18. Hummm! Should I put this code into a .vbs file?
  19. Sure! In web page - Private Sub ValLengthSubject(ByVal source, ByVal arguments) If (Len(arguments.Text) < 10 Or Len(arguments.Text) > 40) Then arguments.IsValid = False setFocus(arguments.ClientID) Else arguments.IsValid = True setFocus(arguments.ClientID) End If End Sub Private Sub linkbtnThreadPost_Click(blah blah) ' a button If Page.IsValid Then do some code ... else don't do some code ... end if End Sub
  20. On the Client side; it's in the web page code.
  21. I can only guess here but maybe you could Disable the validator control until it is necessary to use it; then Enable it.
  22. I have been able to use the RequiredFieldValidator successfully. You only have to set two properties, ControlToValidate and ErrorMessage; other settings are at default and I only added some color settings. This control should work for you!
  23. I am suffering from Validatoritis. This is a really bad brain disease. lolol I have a CustomValidator on my Web form and the ControlToValidate is chosen and the ClientValidationFunction is coded. But this code is not being executed. I do use the If Page.IsValid statement on the Web page too. Any ideas would be appreciated.
  24. I know of this place but I don't know how good they are. https://www.discountasp.net/
  25. Thanks a bunch, I finally got it!!!!!!!!!!
×
×
  • Create New...