dcsimg

Search:

Type: Posts; User: Danial

Page 1 of 13 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    7
    Views
    1,241

    Re: [Resolved] vs

    Alek, ASP.Net was designed to be an object oriented language and move away from the scripting side like classic asp. The use of script Tag within your html code is never a good idea. You should use a...
  2. Replies
    2
    Views
    348

    Re: Cheap firewall wished for

    Try ZoneAlarm, its supposed to be good. Its a free shareware..

    http://www.zonelabs.com/store/content/catalog/products/sku_list_za.jsp?lid=dbtopnav_pro
  3. Thread: URL Question

    by Danial
    Replies
    1
    Views
    351

    Re: URL Question

    Its the SessionID, if you use Cookie-less session then SessionID gets passed within the URL..Session ID is generated randomly when during first request, so it will be diffrent each time.

    Hope it...
  4. Replies
    4
    Views
    414

    Re: Displaying Database Content

    Use Left() or Mid() function...

    E.g

    Left(rs("Status"), 5) that will show five characters...

    Mid(rs("Status"), 2, 5) this will show five characters starting from 2nd charecters from the left...
  5. Re: How to create unbound datagrid that contains unbound checkboxes??

    You are welcome Nina ;)
  6. Re: Cookies; a.x.com reading cookie from b.x.com?

    This is from MSDN which shows how to share cookies between domain/sub-domains.

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchASPNETCookies101.asp
  7. Replies
    7
    Views
    19,965

    Re: SendMessage, FindWindow, FindWindowEx

    Well unfortunately, since VBS is a scripting language and mostly used to automate Admin tasks it is not designed for thing such as what you are trying to do..I tend to create a dll and put all the...
  8. Replies
    7
    Views
    19,965

    Re: SendMessage, FindWindow, FindWindowEx

    Why dont you simply put the API calls in a DLL created in VB6 and use that from VBS to do all the API call?

    That would be the way I do it...It would be the most hassel free way...
  9. Re: How to create unbound datagrid that contains unbound checkboxes??

    <asp:DataGrid id="DataGrid2" style="Z-INDEX: 102; LEFT: 256px; POSITION: absolute; TOP: 360px"
    runat="server" AutoGenerateColumns="False" Width="256px">
    <Columns>
    <asp:TemplateColumn ...
  10. Replies
    7
    Views
    19,965

    Re: SendMessage, FindWindow, FindWindowEx

    Not totally accurate woka ;). You can very well call API and access almost all resources as you can with VB in VBScript, if the VBScript is run from a .vbs file. However if you are running VBScript...
  11. Replies
    2
    Views
    547

    Re: Dataset paging Internal concept

    Your assumtion is correct. Datagrid paging is not really proper pagin in a sense that, every time it will go to the database and fetch "All" data and only show n number you specified in Page Size....
  12. Replies
    12
    Views
    899

    Re: insert server side code in javascript

    If you want to write and excute the client side script then use Page.RegisterStartupScript [c#]/RegisterStartupScript(key, script) [VB.Net] otherwise use Page.RegisterClientScriptBlock...
  13. Replies
    24
    Views
    1,677

    Re: Showing a web page inside a literal control.

    Woka here is an simple example of Loading control dynamically.

    Hope it helps.
  14. Replies
    4
    Views
    583

    Re: Emailing HTML on demand

    Code behind

    Public Class WebForm9
    Inherits System.Web.UI.Page

    #Region " Web Form Designer Generated Code "

    'This call is required by the Web Form Designer.
    ...
  15. Replies
    4
    Views
    583

    Re: Emailing HTML on demand

    Use ClientSide JavaScript to read the OuterHTML of the Panel(Div) and then put it on a hidden inputfield(Serverside), then Read the value of the input field from serverside and Email it...I have used...
  16. Replies
    24
    Views
    1,677

    Re: Showing a web page inside a literal control.

    Totally agree...



    I have not looked at the innerworking of masterPage, but in essence it is simply a aspx page which contains a <Form> tag, and when you include it in your page, all additional...
  17. Replies
    4
    Views
    828

    Re: Form wont Clear after Submit

    Here is an example i put together. If you are using HtmlControls then make sure you set them as Server Controls.


    'Usage
    ''''''''''''''''''''''
    Dim ctl As Control

    ...
  18. Replies
    24
    Views
    1,677

    Re: Showing a web page inside a literal control.

    :thumb:


    I have VS.Net 2002, 2003 and 2005 beta running side by side without any problem on my home machine. Only issue is when creating asp.net application you manually need to specify that you...
  19. Replies
    2
    Views
    613

    Re: How can i add a new row to DataGrid??

    DropdownList in 1st and CheckBox in 2nd? I am not sure what you are trying to do, do you mean Column?

    If you are trying to do DropDown in 1st and CheckBox in 2nd rows plus other columns then you...
  20. Replies
    4
    Views
    828

    Re: Form wont Clear after Submit

    You are not doing anything wrong. Since by default viewstate is set to Enabled for all controls, when you post back all input are restored/kept by asp.net. You can either set the EnableViewstate to...
  21. Replies
    24
    Views
    1,677

    Re: Showing a web page inside a literal control.

    Ofcourse, here is the VB.Net version, just put a button and a Literal control on your form.


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  22. Thread: User controls

    by Danial
    Replies
    15
    Views
    2,201

    Re: User controls

    You are welcome. Apart from cookie, you could try putting some hidden field in host form and store the values in hidden input field or Hidden Controls such as ListBox etc. I uses this technique quite...
  23. Thread: User controls

    by Danial
    Replies
    15
    Views
    2,201

    Re: User controls

    I always try not to use Session variable for storing data, only case i use session variable is for Validation only. It will all depend on the number of concurrent users you have. If the concurrent...
  24. Replies
    7
    Views
    596

    Re: datagrid with template column

    You wont, whenever you navigate to a new page, all values you have entered will be lost unless you store it or save it to the database..
  25. Replies
    3
    Views
    526

    Re: images with mouseover

    Use client side JavaScript to swap images. Search in Google you should find hundred of example.
  26. Thread: User controls

    by Danial
    Replies
    15
    Views
    2,201

    Re: User controls

    When you are switching between two controls by using Placeholder1.Controls.Add the item that was there before is getting unloaded. So any values you type will be lost. You will have to save those...
  27. Replies
    7
    Views
    596

    Re: datagrid with template column

    'put this on PageLoad
    If Not(Page.IsPostBack) then
    BindGrid()
    End If

    'Put this in dg_PageIndexChanged
    dg.CurrentPageIndex = e.NewPageIndex
    BindGrid()
  28. Replies
    7
    Views
    596

    Re: datagrid with template column

    How/where are you defining DataSource for dg?
  29. Thread: User controls

    by Danial
    Replies
    15
    Views
    2,201

    Re: User controls

    The property is called "EnableViewState".
  30. Replies
    7
    Views
    596

    Re: datagrid with template column

    Move to next page and previous page, do you mean Paging? If so make sure you are rebinding the DataGrid in PageIndexChanged event...
  31. Thread: User controls

    by Danial
    Replies
    15
    Views
    2,201

    Re: User controls

    Do you mean in Postback?If the viewstate of your textbox is set to true, then the value should not reset, unless you are assigning the value dynamically. If so then you only assign in when there is...
  32. Thread: User controls

    by Danial
    Replies
    15
    Views
    2,201

    Re: User controls

    Sorry for posting C# code, Here is the VB.Net version, and it works fine, i have tested it.


    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  33. Thread: User controls

    by Danial
    Replies
    15
    Views
    2,201

    Re: User controls

    Yes you should use Placeholder and load the UserControl Dynamically as and when it is needed.

    E.G.

    Top of your page..


    <%@ Reference Control = "WebUserControl1.ascx" %>
  34. Replies
    24
    Views
    1,677

    Re: Showing a web page inside a literal control.

    You dont have VS.Net 2005 by any chance do you?If so then make sure your application is using Framework Version 1.1xx isntead of 2.xxx, you can specify that in the IIS by clicking on Property of the...
  35. Replies
    24
    Views
    1,677

    Re: Showing a web page inside a literal control.

    First time I tried installing DNN it took me 3 days of trying to install it
    :rolleyes:.

    The documentation is in your C:\DotNetNuke\Documentation\Public\DotNetNuke Installation Guide.pdf...
  36. Replies
    24
    Views
    1,677

    Re: Showing a web page inside a literal control.

    Yes its a bit confusing intially, once you spend some time and get your head around it, its not really that complex. Also you dont need to understand how it works 100%, you just need to know how you...
  37. Replies
    24
    Views
    1,677

    Re: Showing a web page inside a literal control.

    I am not sure what you are requirements are, but i would suggest you have a look at DotNetNuke Portal. Its open source and written in VB.Net. We have just started using it at work and I have written...
  38. Replies
    7
    Views
    715

    Re: Web Form Controls Iteration

    For i = 0 To MyForm.Controls.Count - 1
    dim ct as Control
    ct = MyForm.Controls(i)

    If ct.GetType Is GetType(TextBox) Then
    dim txt As String
    txt = CType(ct,...
  39. Replies
    7
    Views
    715

    Re: Web Form Controls Iteration

    This loop will only work if you have no container in your Page, if you have containers then you will need recursing function. I have posted an example here, that should be exactly what you are...
  40. Replies
    24
    Views
    1,677

    Re: Showing a web page inside a literal control.

    this.Literal1.Text= "<iframe height=500 width=500 src='http://www.vbfourms.com'></iframe>";

    Hope it helps.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width