256 Posted Topics
Re: im guessing you mean the built in treeview control? in short no although you could have a fiddle with the CSS that is generated in the background. I would warn against using it though as having tried to use it in previous projects it is very slow, cumbersome and if … | |
Re: use a javascript library with CSS selectors such as jQuery. You can then perform a css selector query to get the node your after. Example [CODE=javascript]$('.dc').filter('.m1_pad').css('background-image', 'url(' + url + ')');[/CODE] There are many other very good CSS based javascript libraries | |
Re: or use the built in method [CODE=PHP]session_destroy();[/CODE] | |
Re: [QUOTE=Jay Orban;593838]Please read what should i choose? To all IT Professionals help me choose a 2nd career path please!! Professionals that work in the field there opinion,if they were gonna get into this field all over again what path would they choose?Here's my situation I am 31 yrs old, already … | |
Re: easiest way to do this is with javascript and all your content in page. Example: with a simple HTML layout like below with your seperate "pages" content in each 'div'. [CODE=HTML] <div id="content01" class="show"> <p>Content 01</p> <p>My first bit of content to show everybody</p> </div> <div id="content02" class="hide"> <p>Content 02</p> … | |
Re: i dont know why you would need a dll but anyway. you will need to do 3 things [B]1. basic page with your textbox in. Then use the following javascript to pass a query to the server along with your variable of what has been entered so far in the … | |
Re: [QUOTE=ypdev;781381][CODE]<asp:RadioButtonList ID="T_selector" runat="server">[/CODE][/QUOTE] The ID you give the ASP control will change at runtime. [QUOTE=ypdev;781381][CODE]if (document.getElementById("T_selector").checked==false)[/CODE][/QUOTE] You need to change your hardcoded ID string to change at runtime using. [CODE](document.getElementById('<%= T_selector.ClientID %>').checked==false)[/CODE] or you can use the following if you have the Microsoft Ajax Library in your project. [CODE]($get ('T_selector').checked==false)[/CODE] … | |
Re: [QUOTE=RamyMahrous;781056]You may ask in ASP.NET forum, it'd be better.[/QUOTE] This is the ASP.net forum? And the best way to achieve this is definately a recursive function. I dont quite understand your database structure could you ellaborate. A simple example of something would be. Database Table Structure [CODE] MenuItem --ID --Name … | |
Re: no you cant. Microsoft have made it that way. At least not through javascript. If your using a server side language you could change the page headers returned to the client which would force a download of the page. But if your using bog standard html/xhtml youd have to tamper … | |
Re: Your looking for something like this [URL="http://freetextbox.com/download/"]http://freetextbox.com/download/[/URL] , although if you use it commercially you will have to pay them for the control. I have done this sort of thing by hand before and believe you me it is alot less hassle to use a component. | |
Re: Have you purchased Hosting or just the domain name? If so you need to check if your host supports ASP.net else your projects will not work. If they do they will provide a backend to setup a web application. | |
Re: [QUOTE=Liszt;774764]Normally when you do this in C# you would have done something like this to open a new Form. Is the solution something simular to this ? [code] Form2 form2 = new Form2(); form2.Show(); [/code][/QUOTE] Im just curious as to when you would do this on a web page ? … | |
Re: hey although the way your writing this can be done, it will be hard to maintain with all your permutations in the if statement. I have put together an example for you that uses lists to iterate through and uses built in Array methods to find out how many each … | |
Re: first of all do they need to be added dynamically? could you get away with adding them manually first and hiding/showing certain controls. You can set the index of the step so you could technically override this on postback and then alter the index given some requirement you may have. … | |
Hello all, im looking to try and find a simple set of pros and cons with regards to comparing Enhanced-Entity-Relationship Diagrams and Object Role Modelling diagrams. Basically any plus or negatives given for/against either would be great. | |
Re: [QUOTE=rajkishore;761182]hi all, i created an web application in which i have used sessions. when i run this application on IIS its working fine, but when i hosted on another webserver(EasyCgi) the sessions are not working. can anybody please help. i even used Session State and Session mode in my WEB.CONFIG … | |
Re: [QUOTE=serkansendur;761062]you are missing your form tag, also it is not good idea to hand code aspx pages. try visual web developer/[/QUOTE] i have to disagree here, why is it bad to hand code aspx pages? just wondering as there are many programmers/developers that program in the most basic of all … | |
Re: you can set the domain on a cookie as follows [CODE]Response.Cookies("CookieName").Domain = "www.mydomain.com"[/CODE] and even a path of the cookie on that domain to make sure it can only be read by the path on that domain and not another [CODE]Response.Cookies("CookieName").Path = "/maindir/subdir/path"[/CODE] | |
Re: depends how far you want to take this. For example you can easily append a unique ID for all sites you wish to link to this page e.g. [url]http://www.mysite/yourpage.com?token=123[/url] you would then perform a check to see if the "token" variable equals 123. This can be easily manipulated by somebody … | |
Re: css works by nesting. so... [QUOTE=daviddoria;756660]ul li[/QUOTE] "li" is found below "ul" [QUOTE=daviddoria;756660]li li[/QUOTE] "li" is found below "li" Example [CODE]<div> <ul> <li> <ul> <li>Text 01</li> </ul> </li> <li>Text 02</li> </ul> </div>[/CODE] [CODE]ul li { color:#aaaaaa; } ul ul li { color:#ff3333; }[/CODE] The style for "ul li" will set … | |
Re: the bin file should be generated with your project. Are you using VS? or are you writing this by hand. The logic you have is quite simple, the "Init" method is being called and creating a handle of the OnBeginRequest method which should have a set signature. You are then … | |
Re: yo havent implemented all of your interfaces methods so far as i can see in the class FocusView you have implemented Idecrypt and login. your IEncrypt method in FocusView is not implementing the method IEencrypt in the interface and you are missing, compress, decompress and logout to implement an interface … | |
Re: The method you are using is depreciated and you should create your controls dynamically using the built in methods. E.g. [CODE] HtmlInputCheckBox cb = new HtmlInputCheckBox(); cb.id = "someid"; cb.value = "your value"; /* Panel1 being a panel or some sort of placeholder on the page */ panel1.Controls.Add(cb); [/CODE] When … | |
Re: First of all to stop your input/textareas from bouncing everytime you focus them do this. [CODE] input,textarea { height: 1.5em; width: 15em; padding: 0; [COLOR="Red"][B]margin: 1px 1px 1px 1px;[/B][/COLOR] border: 1px solid gray; font: 11px "Lucida Sans Unicode", Verdana, Arial; color: #666; } input:focus, textarea:focus{ border-width: 2px; border-color: #d5dae7; [COLOR="Red"][B]margin:0px[/B][/COLOR] … | |
Re: are you running this locally on your computer or via a website ? if its locally you will recieve this error through IE to disable it. Set your security settings to low/intranet in IE. | |
Re: [QUOTE]onclick="window.open('popup.aspx?textbox=txtDate','cal','width=250,height=225,left=270,top=180')" href="javascript:;"[/QUOTE] Try [CODE]onclick="window.open('popup.aspx?textbox=txtDate','cal','width=250,height=225,left=270,top=180');return false;" href="javascript:void(0);" [/CODE] And if that fails you could always try [CODE]onclick="var w = window.open('popup.aspx?textbox=txtDate','cal','width=250,height=225,left=270,top=180');w.focus();return false;" href="javascript:void(0);" [/CODE] | |
Re: [QUOTE=peter_budo;687327]Secondly I find ASP slower in comparison to PHP or JSP.[/QUOTE] Alot of people throw this quote about but there is no reason ASP.net websites shouldn't be as fast (or faster) than php sites. It simply comes down to coding practices and optomizing performance. I would consider what level of … | |
Re: this will only work in IE at best. If thats not a problem then we need to see your "B.aspx" page to see what is going wrong. If cross browser issue is a problem try looking into the "ajaxControlToolkit" [URL="http://ajaxcontroltoolkit.com/ModalPopup/ModalPopup.aspx"]available here[/URL]. It contains a managed way of creating in page … | |
Re: Integrate an ASP.NET WebService into your application. Webservices provide a much better means of transferring/receiving data externally via the web than simply posting values to a page, the vb.net app can then "Consume" the web service creating integrated classes into your forms application allowing you to call your external methods … | |
Re: if you want the quick and rough way. add your progress bar to the form (dynamically would be best as you may have more than one row) then adjust its position relative to the listview. if you have added your progress bar to the listview control it will already have … | |
Re: [QUOTE=bhappy;582044]Hai All, I want to create crystal reports dynamically, I don't know the columns i will take it from database at runtime, im getting all data into one dataset and im convrting dataset into xml schama, then im using that xml schama in crystal reports,there i drag n drop all … | |
Re: [CODE]Name: <%= Page.Request("nameField") %> <br /> Age: <%= Page.Request("ageField") %> <br /> Comment: <%= Page.Request("commentField") %> <br />[/CODE] | |
Re: dont use absolute layout. Ever! this is probably gonna be the answer you will get everwhere but simply spending a day learning HTML/CSS coding practices will reap the rewards. | |
Re: I dont believe you can do this solely through .Net you would require either a flash interface or an active X control to use a webcam. | |
Re: It will be todo with your max upload limit on the server you are using aswell. Most will not let u alter this unless u own the server. | |
Re: in short you cannot. not to the extent some people like to change their form buttons. best bet is to create another button with an onclick event to press the input type="file" which should be hidden. | |
Re: look into using the ModalPopupExtender from the ajaxtoolkit. It really is great and stops all the cross browser nonsense of manually coding javascript popups. [URL="http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ModalPopup/ModalPopup.aspx"]ModalPopup Example[/URL] | |
Re: System.Web.UI.HtmlControls | |
Re: You need to force the browser to refresh it looks like. Im afraid the easiest method is to change its name. maybe you could add a time to the end of the file i.e. "filename_20080607.jpg" etc. | |
Re: <center> element is depreciated in html and not supported in xhtml but it would not cause IE to not render an image. try changing your image names to a.jpg and b.jpg to see if it can find them then the only other thing could be have you converted your images … | |
Basically i have a wizard so a user can setup the web app correctly when installed. This requires them to enter details on a server which houses their database. I would like to return a list of current paths in the local network for ease which they could select etc … | |
Ok short of re-inventing the wheel here i wanna know if there are any features you would like to see implemented in a CMS that perhaps you havent seen elsewhere. I have a final year project to undertake and aswell as this being useful for myself and my own clients … | |
Re: this is where you should use a normalised database with seperate tables for category, city and type etc. but to get round redesigning ur DB. when u create ur statement check to see if the "cityName" and "type" variable length is greater than 0 and print a statement accordingly. example: … | |
Re: echo the $query variable before it is fired to see exactly what the query is at runtime. | |
Re: i have tried this before (quite a while back) yet i found no solution i fear there isnt one for IE 6 there may be for 7 tho as it seems more compliant. | |
Re: why not use the "defer" attribute of the script tag? [CODE]<script type='text/javascript' [COLOR="Red"][B]defer='defer'[/B][/COLOR]>[/CODE] you could also add an onLoad event handler to run the script once the browser has loaded all information. But defer should work fine for what your after. | |
Re: [CODE]<p class="MsoNormal"> <span style="font-size: 10.0pt; font-family: Verdana"> Florida PROMiSE partners and staff can use the following site to share and exchange information regarding to the project. </span></p> <p class="MsoNormal" align="left"> <font size="2"><span style="font-family: Verdana"> <a [B][COLOR="Red"]target="_blank"[/COLOR][/B] href="http://coursesites.blackboard.com/webapps/portal/frameset.jsp"> Florida PROMiSE Secured Project Site</a></span></font></p>[/CODE] | |
Re: Do you have this data in date variables or as strings ? ill presume its a string if it isnt skip the first part. [CODE=VBNET] Dim totalTime As New TimeSpan(0, 0, 0) ' Declare a timespan outside the loop to hold the count For Each Record ' Create your loop … | |
Re: you can use expressions but these are only picked up by internet explorer and are invalid css markup. [CODE] .className { width:expression(window.innerWidth ? window.innerWidth + "px" : (document.body.offsetWidth ? document.body.offsetWidth + "px" : "100%")); } [/CODE] | |
Re: Do you have any experience implementing php/asp.net scripts ? As this could prove difficult if your not too sure what you are doing. There are some 3rd party tools out there which will probably do all this for you but your gonna have to pay for these as i dont … |
The End.