|
hai
i have three combobox stored, its value are stored string(05/22/1984) in the server. now while reterieving it i have to place it in proper format and i have to cross check whether it is in proper format as default.
can anyone give me the code
thank u
Dhatchinamoorthy.R
9894824838
|
|
|
|
|
You can try regex, or convert to datetime to verify format.
|
|
|
|
|
Hey guys,
I am fairly new to web programming and I am having trouble getting my style sheet to work properly. I am linking it in the master page with this tag: in the tag. I have my master page layout set up with a series of div tags that are all styled in the css file.
My problem is that whenever I run the site all of my elements are stacked on top of each other no matter how i position them in the style sheet. The fonts and colors are all correct so I know that the style sheet is being linked properly, but none of my positioning and layout code is being executed.
I tried to put the style directly in page by doing the div id="id" style="style stuff here" and the positioning code worked just fine. I don't understand why the positioning code in my style sheet is not working when linked. I'm sure it is some small thing that I am missing, but any help is appreciated.
Thanks,
Dustin
|
|
|
|
|
I'm not sure if I understand your problem, but simply adding the reference to the style sheet in the header will not format the positioning for you. You must put the div id="id" or div style="style" stuff in there still. The website knows to format certain controls automatically from the stylesheet such as text, but divs and panels are not one of those controls because they contain text and buttons and things like that usually. They don't stand alone. If you want to format the stuff inside the div or panel, you have to tell the tag which style you want it to use.
I'm not sure if that helps or not...but I came up with the same issue in another website I was creating.
|
|
|
|
|
Thanks for the reply. I do have all of the positioning style things in the style sheet. Here is a sample:
Lets say i have a div with id="Nav" and in my css i have #Nav { width: 125px; float: left; etc..}. For some reason when I link the css it does not execute the positioning attributes such as float, etc. But, if I put the attributes from the css directly in the style="" attribute of the div tag it works fine.
I hope this may clarify my problem. Thanks again.
Dustin
|
|
|
|
|
my college give me the an asp classic file i copy the html of this asp classic file and past it in a .net page (in the html of the design) but the pattern is not the same as was in asp classic (in very wrong preview)
i want to know why this problem occurred and what is the solution to this problem (currently i am making html code in .net) and plz don`t tell me to tell my friend to work on .net because he makes the design in asp classic
thanks to u in advance
haitham
|
|
|
|
|
what r the differences, r they minor or major?
Best Regards
3ala2
|
|
|
|
|
the differences in the tables...they are not in their places and the pattern is not as the same in the classic one.
haitham
|
|
|
|
|
i have problem in FCK Editor if you know it i add arabic text and its transfer after saving to "???????????"
why this happen?
Mohamad A. Flefel
mflefel@hotmail.com
+962 79 5963865
C#.net & VB.net Developer
|
|
|
|
|
check the language support of ur db
Best Regards
3ala2
|
|
|
|
|
I am using Visual Studio 2005 to create a Web Setup Project to deploy my web application.
I wish to add a custom install action that will configure a virtual directory (named MyFolder) inside the WebApplicationFolder (MySite) as an application in IIS. My Installer class is calling the function below (ConfigureVirtualDirectories) from Public Overrides Sub Install(ByVal stateSaver As System.Collections.IDictionary) of the Installer class
Private Sub ConfigureVirtualDirectories()
Dim IISWebVDirObj As Object = GetObject("IIS://localhost/W3SVC/1/Root/MySite/MyFolder")
'++++++++++++++++Configure MyFolder folder as an application in IIS+++++++++++++
' Use the AppCreate2 method of the IIS ADSI provider to
' create an application on the new virtual directory.
IISWebVDirObj.AppCreate2(1)
IISWebVDirObj.Put("AppFriendlyName", "MyFolder")
' Use the Windows ADSI object "SetInfo" method to
' save the data to the metabase.
IISWebVDirObj.SetInfo()
End Sub
My problem is that during installation my installer gives the following error: Cannot create ActiveX component. If I create a small windows application and put the code in a button click event, the code works. As in:
Imports System.DirectoryServices
Public Class Form1
Private Sub btnCreate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreate.Click
Dim IISWebVDirObj As Object = GetObject("IIS://localhost/W3SVC/1/Root/MySite/MyFolder")
'++++++++++++++++Configure MyFolder folder as an application in IIS+++++++++++++
' Use the AppCreate2 method of the IIS ADSI provider to
' create an application on the new virtual directory.
IISWebVDirObj.AppCreate2(1)
IISWebVDirObj.Put("AppFriendlyName", "MyFolder")
' Use the Windows ADSI object "SetInfo" method to
' save the data to the metabase.
IISWebVDirObj.SetInfo()
End Sub
End Class
|
|
|
|
|
Hi All,
I have one problem to discuss with.
I have a javascript function which will capture screencoordinates of browser window on a mouse click.
I want that javascript function to be masked(i.e doesn't apply)to a particular event(eg.Say,"OnmouseClick" on a image in the browser).
How can we do this?
|
|
|
|
|
i'm not very sure about that but gues u should check the "element" type before doing your javascript code
var elem;
elem = document.gerElementById('Your Control')
if elem.type = "img" ...
something like that
hope this would help
Best Regards
3ala2
|
|
|
|
|
What u check the condition is ok.if the condition satisfies then we should able to mask particular javascript function(In this case,the function which captures the screen coordinates should be masked for the clicked event on the image in a browser).
So how to mask the javascript function is what really important for that clicked event on image.
|
|
|
|
|
Hi there...
I have a ASP.NET Project with codebehind coding(sample.aspx.cs). When i upload this, project it is not taking the .cs file. How to work with codebehind file from the remote server. Please help me.
Regards n Thanks
Sam.M
|
|
|
|
|
u don't upload the code behind files
all ur project code files is converted to a dll file in the bin folder with the same name of ur project
Best Regards
3ala2
|
|
|
|
|
hi sam,
i didnt get ur actual requirement. Can u tell me clearly about your requirement
this is sumanth, completed m.c.a from india.
|
|
|
|
|
Hi,
I have developed a webapplication in my local host with name proj1 in vb.net. proj1 contais two webforms web1.aspx, web2.aspx
Now iam working on another applicatin in local host with name proj2 in c#.net. proj2 contains webform web3.aspx I want to use web1.aspx in my new C# project.
i want to transfer control from web3.aspx to web1.aspz, perform some operations and return back to web3.aspx.
is it possible. anybody help me?
Thanks in advance.
this is sumanth, working as associate developer from india.
|
|
|
|
|
Use VS post build to COPY the expected pages and controls to the new project.
|
|
|
|
|
I want to get values from dropdown list. For Example it has value 5 now. I select 1 from dropdown list. I want to store 5 in one variable and 1 in another variable. How can I store old value of dropdown list. I can store new value.
I have followng event handler:
public sub change(sender as object, e as EventArgs)
pos_new.DataTextField = CType(sender, DropDownList).Text
end sub
pos_new as a globle variable of type dropdown list.It store new selected value. But How can I store the old value. I m using that dropdown list on a datagrid. I have taken pos_old global variable for old value. I m using VB.NET as code behind language for my ASP.NET pages
|
|
|
|
|
Hai there...
I got the solution for filling values in dropdownlist boxes by using AJAX in ASP.NET 2003, but i can't able to convert that codebehind aspx page into inline aspx page, because while i uploading that codebehind aspx into server means, it's not working. That's y i converted into inline coding. Please help me.
Regards n Thanks
Sam.M
|
|
|
|
|
HEy guyz im faced with a problem here.
I need to print a small piece of data from a datagrid.
The data would probably neva b over a page.
The thing is i was gona use crystal reports but apparently i can only get data from the database, the problem with this is that the data must be id specific. wich it seems to me i cant specify when retrieving data from a datatable.
ive looked at printing straight from the datagrid but i cant seem to find any real info on that either considdering its mostly either vb bassed or not for web.
if anyone has any help for me pls let me know
|
|
|
|
|
Maybe this will assist you:
http://www.codeproject.com/vb/net/datagridprinter.asp
|
|
|
|
|
thanx for your help. ireally appreciate it.
The prob is that im kinda green, and i only know c#.
and it looks like this artical is relating to vb.
how would you suggest i get around it.
|
|
|
|
|
Most vb.net code can be easily converted. Most of the .NET namespaces are the same.
There are also free converters on the web that you can use. I would recommend trying to do it yourself, it's a great learning experience.
|
|
|
|