Search:
Type: Posts; User: Danial
Search:
Search took 1.51 seconds.
-
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...
-
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
-
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...
-
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...
-
-
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
-
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...
-
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...
-
<asp:DataGrid id="DataGrid2" style="Z-INDEX: 102; LEFT: 256px; POSITION: absolute; TOP: 360px"
runat="server" AutoGenerateColumns="False" Width="256px">
<Columns>
<asp:TemplateColumn ...
-
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...
-
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....
-
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...
-
Woka here is an simple example of Loading control dynamically.
Hope it helps.
-
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.
...
-
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...
-
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...
-
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
...
-
: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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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..
-
Use client side JavaScript to swap images. Search in Google you should find hundred of example.
-
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...
-
'put this on PageLoad
If Not(Page.IsPostBack) then
BindGrid()
End If
'Put this in dg_PageIndexChanged
dg.CurrentPageIndex = e.NewPageIndex
BindGrid()
-
How/where are you defining DataSource for dg?
-
The property is called "EnableViewState".
-
Move to next page and previous page, do you mean Paging? If so make sure you are rebinding the DataGrid in PageIndexChanged event...
-
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...
-
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...
-
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" %>
-
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...
-
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...
-
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...
-
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...
-
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,...
-
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...
-
this.Literal1.Text= "<iframe height=500 width=500 src='http://www.vbfourms.com'></iframe>";
Hope it helps.
|
Click Here to Expand Forum to Full Width
|