text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
would like to start on a custom solution. --- [Here is a CodeProject article](http://www.codeproject.com/KB/cs/cs_call_tree_prototype.aspx) that might point you in the right direction: > The download offered here is a Visual > Studio 2008 C# project for a simple > utility to list user function call > trees in C# ...
[ -0.06342609971761703, -0.18746761977672577, 0.24357870221138, 0.22118063271045685, -0.21224330365657806, 0.23298057913780212, 0.08929067850112915, -0.02580389939248562, -0.27493223547935486, -0.5040964484214783, 0.12459040433168411, 0.43075087666511536, 0.15551185607910156, 0.0972863957285...
if > someone who is up-to-speed on C# > parsing would upgrade it by > incorporating an accurate C# parser > and turn out an improved utility that > is reliable regardless of coding style The source code is available for download - perhaps you can use this as a starting point for a custom solution.
[ 0.2675323784351349, 0.02961653284728527, 0.22063198685646057, 0.42452797293663025, -0.11359627544879913, -0.2400171160697937, 0.2711210548877716, -0.19008655846118927, 0.01237579807639122, -0.7352120280265808, -0.08475874364376068, 0.7910259366035461, -0.05534472316503525, -0.3786304295063...
I need to remove blank lines (with whitespace or absolutely blank) in PHP. I use this regular expression, but it does not work: ``` $str = ereg_replace('^[ \t]*$\r?\n', '', $str); $str = preg_replace('^[ \t]*$\r?\n', '', $str); ``` I want a result of: ``` blahblah blahblah adsa sad asdasd ``` will: ``` bl...
[ -0.09805753827095032, 0.3176259696483612, 0.6194002032279968, -0.3025340139865875, -0.3917178213596344, 0.1611899435520172, 0.327102929353714, -0.3859442174434662, -0.13427963852882385, -0.44886866211891174, -0.2988767623901367, 0.2640511095523834, -0.5535849928855896, 0.10694829374551773,...
[\r\n]* match a single character present in the list below Quantifier: Between zero and unlimited times, as many times as possible, giving back as needed [greedy] \r matches a carriage return (ASCII 13) \n matches a fine-feed (newline) character (ASCII 10) 2nd Alt...
[ 0.05573778226971626, -0.24431771039962769, 0.37360072135925293, -0.1197432428598404, 0.03643927350640297, 0.3374899923801422, 0.2517712116241455, -0.7244684100151062, -0.10137278586626053, -0.4882672429084778, -0.22047771513462067, 0.3534841239452362, -0.6473798751831055, -0.01248939242213...
[\r\n]+ match a single character present in the list below Quantifier: Between one and unlimited times, as many times as possible, giving back as needed [greedy] \r matches a carriage return (ASCII 13) \n matches a fine-feed (newline) character (ASCII 10) [\s\t]* match a single c...
[ 0.12261407822370529, -0.21263892948627472, 0.37829095125198364, -0.08468681573867798, 0.1600537896156311, 0.3416360914707184, 0.33760884404182434, -0.6678124666213989, -0.14248515665531158, -0.5584629774093628, -0.29640498757362366, 0.3572828471660614, -0.5662801265716553, 0.04702345281839...
Quantifier: Between zero and unlimited times, as many times as possible, giving back as needed [greedy] \s match any white space character [\r\n\t\f ] \tTab (ASCII 9) [\r\n]+ match a single character present in the list below Quantifier: Between one and unlimited times, as many times as poss...
[ -0.11189817637205124, -0.2451236993074417, 0.14130482077598572, 0.016933199018239975, 0.04403407499194145, 0.29143431782722473, 0.25442197918891907, -0.5805147886276245, -0.00195428472943604, -0.47366419434547424, -0.36057454347610474, 0.4916657507419586, -0.6420897841453552, -0.1124257296...
\n matches a fine-feed (newline) character (ASCII 10) ```
[ 0.07558705657720566, 0.15540975332260132, 0.24104413390159607, -0.34477704763412476, 0.48796284198760986, 0.2791489362716675, 0.10089688748121262, -0.15258777141571045, -0.1768590658903122, -0.6899664998054504, -0.28973257541656494, 0.22229230403900146, -0.4201911389827728, 0.0946384444832...
What would be the shortest explanation for .net mvc (for a manager to understand at a high level, how it works, benefits etc). You might start [here](http://www.asp.net/mvc/). > **ASP.NET MVC** enables you to build Model > View Controller (MVC) applications by > using the ASP.NET framework. ASP.NET > MVC is an alte...
[ 0.07984351366758347, -0.19792011380195618, 0.3246445059776306, 0.12514066696166992, -0.17961464822292328, -0.05103975906968117, -0.05396683141589165, -0.4237644672393799, -0.3482312858104706, -0.43915295600891113, -0.21476447582244873, 0.450541228055954, -0.2935055196285248, 0.080229885876...
as well: > **Model–view–controller (MVC)** is an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from user interface considerations, resulting in an application where it is easier to modify either the visual appearance of the application or the underlying busin...
[ 0.5401281118392944, 0.08803579211235046, 0.46367427706718445, 0.10769368708133698, 0.14629828929901123, -0.11728983372449875, 0.03165465220808983, -0.12519611418247223, -0.4155242145061493, -0.36541080474853516, -0.49958738684654236, 0.5068250298500061, -0.514590322971344, 0.42844244837760...
I ran into a problem. Wrote the following code snippet: ``` teksti = teksti.Trim() teksti = Replace(teksti, "<", "& lt;") teksti = Replace(teksti, ">", "& gt;") teksti = Replace(teksti, """", "& quot;") teksti = Replace(teksti, "'", "& #8217;") teksti = Replace(teksti, "%", "& #37;") teksti = Replace(teksti, "&", "& a...
[ -0.12633609771728516, 0.20587670803070068, 0.402692973613739, -0.05277582257986069, 0.1946607381105423, -0.0014809503918513656, 0.8123070597648621, -0.2730501592159271, 0.13006410002708435, -0.49855557084083557, -0.2658558785915375, 0.677777886390686, -0.4722774624824524, -0.20397858321666...
then proceeds to replace the newly written string again as every replace string has &, # and ; signs in it. Any hints? I thought about using a regex for this, but I couldn't find any decent Visual Basic examples that were simple enough. **Edit:** Thanks for the tips. I was sure there would be a "smart" easy way to do...
[ 0.17054790258407593, -0.03331860899925232, 0.308937132358551, 0.06500811874866486, -0.03046906739473343, 0.1528145670890808, 0.31299200654029846, 0.26875394582748413, -0.26357996463775635, -0.48047778010368347, -0.21480515599250793, 0.5788600444793701, -0.13082309067249298, -0.132789462804...
queries, checking back I see my English doesn't come out as intended. I meant to say that I'm already using them, that this problem here is specific to prevent all manner of html-injection and possible sql-injection using the same strings elsewhere later. Thanks again for the help. If this is .NET, you might look at [`...
[ 0.22901387512683868, 0.19689078629016876, 0.3914654552936554, 0.13068747520446777, -0.4345446228981018, 0.16929665207862854, 0.6036208271980286, 0.10568370670080185, -0.18695349991321564, -0.5987693667411804, 0.27728667855262756, 0.6106433868408203, -0.2985217869281769, -0.0246817544102668...
I have a utility in my application where i need to perform bulk load of INSERT, UPDATE & DELETE operations. I am trying to create transaction around this so that once this system is invoke and the data is fed to it, it is ensured that it is either all or none added to the database. The concern what is have is what is ...
[ 0.38671091198921204, 0.2660369873046875, 0.14315593242645264, 0.05022440478205681, 0.11073923856019974, -0.11515437066555023, 0.0036453965585678816, -0.24366800487041473, -0.33931824564933777, -0.4813193380832672, 0.14383439719676971, 0.6883060932159424, -0.22796568274497986, 0.32427591085...
getting added to the table files, and eventually the transaction either commits or rolls backs: AIUI this result gets stored in pg\_clog; if it rolls back, the space will eventually be reclaimed by vacuum. So it's not as if the ongoing transaction work is held in memory and flushed at commit time, for instance.
[ -0.34346920251846313, -0.023631613701581955, 0.5267737507820129, 0.06702196598052979, 0.3270644545555115, 0.07235698401927948, -0.07208797335624695, 0.12668287754058838, -0.412086546421051, -0.48765063285827637, -0.0053589302115142345, 0.1518864631652832, -0.26325666904449463, 0.1241691187...
I have integer type field in database which is having property "Not Null". when i create a view & do a validation, if i left that field blank, it will consider it as 0 so i can not compare it with 0 because if someone insert a value 0 then it will be considered as error! one another problem is that i am using Model e...
[ 0.01177317276597023, 0.1514846235513687, 0.013300837017595768, -0.15953660011291504, -0.16918599605560303, 0.09871310740709305, 0.4414944350719452, -0.34184500575065613, -0.16553151607513428, -0.5156594514846802, 0.20999842882156372, 0.655045211315155, -0.18571694195270538, 0.3813140392303...
IsValid { get { return (GetRuleViolations().Count() == 0); } } public IEnumerable<RuleViolation> GetRuleViolations() { if (String.IsNullOrEmpty(Name)) yield return new RuleViolation("Name is Required", "Name"); if (Age == 0) yield return new RuleViolation(...
[ -0.29475879669189453, -0.4606788456439972, 0.9129716753959656, -0.4779372215270996, 0.672312319278717, 0.001999316271394491, 0.3311007022857666, -0.5194138288497925, -0.1480991095304489, -0.5987938046455383, -0.5452430844306946, 0.5435938239097595, 0.14942999184131622, 0.26271766424179077,...
} partial void OnValidate(ChangeAction action) { if (!IsValid) throw new ApplicationException("Rule violations prevent saving"); } } ``` There is also problem with range. Like in database if i declared as smallint i.e. short in c#, now if i exceed that range then it gives error as "A ...
[ 0.1286633014678955, -0.07187578082084656, 0.5935139060020447, -0.28332066535949707, 0.1340547800064087, -0.04939980432391167, 0.5203688740730286, -0.2828678488731384, -0.18087024986743927, -0.386202871799469, -0.07163382321596146, 0.7222278714179993, -0.2722785770893097, 0.2419515997171402...
Integer) MsgBox(i.HasValue) 'result is false i = 1 MsgBox(i.HasValue) 'result is true i = Nothing MsgBox(i.HasValue) 'result is false ```
[ -0.3342272937297821, 0.27666807174682617, 0.3973582684993744, -0.3186219036579132, -0.0010181620018556714, 0.052383020520210266, 0.4184167981147766, -0.5007187128067017, -0.2376185804605484, -0.33942514657974243, -0.3038971424102783, 0.6115756034851074, -0.4115103781223297, 0.1579911261796...
In past i have worked with JQuery 1.2 vsdoc file which generates intellisense for vs2008 sp1. I have recently downloaded latest version of JQuery 1.3.2 and JQuery 1.3.2 vsdoc file. When i tried to get intellisense for jquery in vs2008 - I am getting following error- Warning 1 Error updating JScript IntelliSense: C:\D...
[ 0.05388334393501282, 0.09759264439344406, 0.5124223232269287, 0.07972545176744461, -0.20505279302597046, -0.06908167153596878, -0.039544928818941116, 0.09356719255447388, -0.18157027661800385, -0.7891793251037598, 0.35698866844177246, 0.7598622441291809, -0.02665434405207634, 0.06770046800...
I have several "blackbox" that sends data to determinated IP and PORT, I can´t specify anything else (just IP and PORT)... My server should be listening that PORT and catch information to send to MSMQ... How can I set a WCF server to listening that PORT? Thanks! If you can control what's pushing data to the IP addr...
[ 0.644006073474884, 0.1966359168291092, 0.4556393027305603, 0.07135004550218582, -0.18265633285045624, -0.10700394213199615, 0.07995414733886719, -0.16094425320625305, -0.08584335446357727, -0.616750180721283, 0.45206785202026367, 0.8401173949241638, -0.25481176376342773, 0.3551659882068634...
Stevenson-Leggett suggested: [TcpListener](http://msdn.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx) **Edit:** > *Thanks Randolpho... So, I´ll develope > a Windows Service with the listener > and add the message to MSMQ. And in > the otner hand, I need a module to > read the queue (MSMQ) and ad...
[ 0.14282099902629852, -0.017436524853110313, 0.5790682435035706, -0.144893079996109, 0.0018358607776463032, -0.040855858474969864, 0.3322172462940216, -0.3153136670589447, -0.3028627932071686, -0.3444976210594177, -0.06304023414850235, 0.4001370966434479, -0.3120540976524353, 0.236611694097...
Why the following program prints ``` B B ``` (as it should) ``` public class A { public void Print() { Console.WriteLine("A"); } } public class B : A { public new void Print() { Console.WriteLine("B");
[ 0.27517545223236084, 0.042992573231458664, 0.006585156079381704, -0.4773564040660858, 0.3758399784564972, -0.12789131700992584, 0.23560871183872223, -0.4124230444431305, -0.18924546241760254, -0.25889134407043457, -0.4722308814525604, 0.4829033315181732, -0.6947799921035767, 0.184015482664...
} public void Print2() { Print(); } } class Program { static void Main(string[] args) { var b = new B();
[ 0.1610884815454483, -0.13080057501792908, -0.014114856719970703, -0.642320454120636, 0.2417140007019043, 0.11625237762928009, 0.45050549507141113, -0.06598157435655594, -0.14661066234111786, -0.18691104650497437, -0.5269248485565186, 0.7235180139541626, -0.7856320738792419, 0.2758538722991...
b.Print(); b.Print2(); } } ``` but if we remove keyword 'public' in class B like so: ``` new void Print() { Console.WriteLine("B"); } ``` it starts printing ``` A B ``` ? When you remove the `public` access modifier, you remove any ability to call B's `new Print()` me...
[ 0.0868549793958664, 0.06653118878602982, 0.29862675070762634, -0.4690376818180084, 0.22475384175777435, -0.12469259649515152, 0.40248844027519226, -0.0630638375878334, -0.10939362645149231, -0.29096904397010803, -0.5383673310279846, 0.5887975692749023, -0.4900704026222229, 0.42174896597862...
back to the method inherited from A, as that is the only accessible implementation. If you were to call Print() from within another B method you would get the B implementation, because members of B would see the private implementation.
[ 0.23662924766540527, -0.012656978331506252, -0.13969217240810394, -0.14298248291015625, -0.10934806615114212, -0.03135077655315399, 0.15966197848320007, 0.00047404508222825825, -0.21701793372631073, -0.5425536036491394, -0.2096712738275528, 0.44110962748527527, -0.5040489435195923, 0.02007...
OK, I am now wondering how to handle navigation tabs with ASP.NET MVC. Giving an example, suppose you have the tabs like you have here at stackoverflow. So, Questions, Tags, Users, etc. Now lets say you have a "sub tab" under this main one. So there were for example View and Add tabs displayed once you had selected t...
[ 0.06656108051538467, -0.34938371181488037, 0.2498994618654251, 0.2699989080429077, -0.22797954082489014, 0.05823572725057602, 0.07656148076057434, 0.013015249744057655, -0.4236466884613037, -0.7446755766868591, 0.07544660568237305, 0.5073217153549194, -0.1504608541727066, -0.14502218365669...
etc and then and id value for the sub tab i.e. View and Add. This would then give you something like the following: public ActionResult Questions(string view) public ActionResult Tags(string view) Etc * Or would you have a controller per tab/navigation item and if so how would that be implemented? * Say you needed ...
[ 0.189350426197052, -0.5933377146720886, 0.5760599970817566, 0.4051002562046051, -0.2709360122680664, -0.0016614159103482962, -0.015102136880159378, -0.1451936960220337, -0.3381918966770172, -0.3302347958087921, 0.11447102576494217, 0.6904608011245728, -0.37858763337135315, -0.2977907657623...
best bet would be to stick to [REST](http://en.wikipedia.org/wiki/REST). I would stick to having a controller per main tab and each sub-tab corresponding to the possible REST actions: index, new. Edit and delete are item-specific so wouldn't get tabs. Create is called by new and update by edit. An exception to that i...
[ 0.3215107321739197, -0.5302139520645142, 0.21990486979484558, 0.38587459921836853, -0.12288988381624222, -0.13436588644981384, 0.08051159977912903, -0.0997486263513565, -0.23192650079727173, -0.6256457567214966, 0.04867754131555557, 0.5727121233940125, -0.09147633612155914, 0.0712019950151...
Does anyone know of an easy way to create a script that can connect to a telnet server, do some usual telnet stuff, and then log off? I am dealing with users who are not familiar with telnet and the commands they will need to run. All I want is for them to double-click on a script, and have that script automatically ex...
[ 0.5283121466636658, -0.2024139165878296, 0.006128005217760801, 0.1944240927696228, 0.02713502198457718, -0.11621364951133728, 0.029727259650826454, 0.27343928813934326, -0.3177103102207184, -0.6930524706840515, 0.01634904555976391, 0.7264336347579956, -0.2540852129459381, -0.08947092294692...
Telnet module. Has anyone used that? My ideal solution would be to create two script files. a BAT file for windows, and a shell script for Linux. While this would make dual maintenance an issue, it would mean I wouldn't have to install Perl/Java/Python/etc... on every machine. Unfortunately, I have not seen any way to...
[ 0.8379472494125366, -0.41671910881996155, 0.16439417004585266, -0.029931634664535522, -0.12396703660488129, -0.33141660690307617, 0.17412081360816956, -0.31021323800086975, 0.053761184215545654, -1.0307552814483643, 0.046919550746679306, 0.9735798239707947, -0.29483023285865784, -0.3346378...
a useful resource :-)
[ 0.18201881647109985, -0.007748224772512913, 0.06195719540119171, 0.20811058580875397, 0.2697112560272217, -0.06594793498516083, 0.07940597832202911, 0.17047111690044403, 0.019155580550432205, -0.44563549757003784, -0.16786497831344604, 0.26388218998908997, 0.1329530030488968, 0.06747075170...
Ok, when hired on to my current company a year ago, I was tasked with migrating our development teams from VSS. They already had it in their minds that they wanted Subversion, and since I had experience using and setting up subversion, I was a good candidate. I first tried to sell TFS because it woul dhave solved the p...
[ 0.7390784025192261, -0.0761117935180664, 0.21392500400543213, 0.03835641220211983, 0.023928627371788025, -0.07481232285499573, -0.33136841654777527, 0.016092810779809952, -0.0011229709489271045, -0.30145806074142456, 0.09748321026563644, 0.34972620010375977, -0.11803988367319107, 0.3938769...
our source code in SVN, and all documentation, release builds, and other project artifracts be stored in our SharePoint portal, so we don't have to give non developer stakeholders access to SVN. When I presented the proposal, all was excepted but the question arose about how to manage the syncronization between the art...
[ 0.527614414691925, 0.23298971354961395, 0.4586932063102722, 0.09599990397691727, -0.0492895282804966, -0.33077359199523926, 0.09923858195543289, -0.2106151431798935, 0.12526977062225342, -0.5011325478553772, -0.22095854580402374, 0.6215735077857971, 0.0575358048081398, 0.07237377762794495,...
this? Does anyone know of anyone doing this? Or any integration packages to sync SVN with SharePoint? Here is some info on the companies development environment. All of our software is for internal use, we sell none of it, so our customers are all in-house. We have 2 types of developers: 1. those who take care of main...
[ 0.8329054117202759, 0.4817735254764557, 0.08674173802137375, -0.009782045148313046, 0.20616470277309418, -0.14317037165164948, 0.059944313019514084, 0.2621035575866699, 0.026832446455955505, -0.3274288475513458, -0.15133215487003326, 0.7078704833984375, 0.042988166213035583, 0.129412323236...
cares about anymore). Please advise, as I need to get this submitted soon. I HATE VSS!!!!!!!!!! and I need relief! What we do internally is putting all docs under our version control system, I think it's much easier. Then, of course, you have to give access to not-developers. In your case, using SVN, why don't you p...
[ 0.5401602387428284, 0.13070441782474518, 0.41331589221954346, 0.132734015583992, -0.09479602426290512, -0.2846042811870575, 0.24290648102760315, 0.07690037041902542, -0.19903290271759033, -0.45222410559654236, -0.11297909915447235, 0.8016373515129089, -0.027486223727464676, 0.2717217803001...
I need to make a client able to drag and drop images into category-folders in an ASP.NET 3.5 web-app. I was hoping that an option existed, that was almost as easy to use as the Reorderlist from Ajax Control Toolkit, and where I did not have to look into JQuery or similar handcoding. What are your recommendations? Si...
[ 0.49665746092796326, -0.17644812166690826, 0.4263750910758972, 0.24054521322250366, 0.01623649150133133, -0.2347581386566162, 0.07528916746377945, -0.08892601728439331, -0.46167123317718506, -0.33799809217453003, 0.046451132744550705, 0.5929794311523438, 0.1769798994064331, -0.314298957586...
well up to 200$ anyway. My experience with the Reorder List in the Ajax Control Toolkit, as with many other 3rd party providers, is that most of them don't seem to be worth the effort. Definitely try them before you buy. Unfortunately a lot of the samples/components out there are all too client-based and always seem t...
[ 0.7630153894424438, -0.19375893473625183, 0.11405545473098755, 0.06601578742265701, 0.004104965832084417, 0.16956208646297455, -0.0451463982462883, -0.018246812745928764, -0.10865698009729385, -0.5835787653923035, 0.3371131122112274, 0.8394900560379028, 0.19895817339420319, -0.335599184036...
book [ASP.NET AJAX in Action](http://www.manning.com/gallo/) is a good reference on code for performing drag and drop. It uses Microsoft.Web.Preview, but this hasn't been updated in quite some time which is a worry. I have created a pretty good drag and drop UI with MS's PreviewDragDrop, it does work cross-browser, and...
[ 0.4855031669139862, -0.37203577160835266, -0.1148381307721138, 0.5045729279518127, -0.21775788068771362, -0.15514881908893585, 0.03133825212717056, -0.045984070748090744, 0.11645658314228058, -0.5564425587654114, 0.25940391421318054, 0.8431869149208069, 0.09615711867809296, -0.775550723075...
never outsource your core competency. If this page is a core part of your offering you're better off implementing it yourself using library code like jQuery or Microsoft.Ajax rather than relying on a 3rd party component. However, if it's just a minor part of your site, then go ahead and use 3rd party controls. --- Re...
[ 0.4273240566253662, 0.00907029677182436, -0.1988048255443573, 0.16973206400871277, -0.2417954057455063, -0.595603883266449, 0.6129996180534363, 0.3042285144329071, 0.02027217671275139, -0.9862541556358337, -0.15461118519306183, 0.5543174743652344, -0.17949987947940826, -0.17287196218967438...
The default DataTemplate in a wpf application displays the result of the `.ToString()` method. I'm developing an application where the default DataTemplate should display nothing. I've tried: ``` <Grid.Resources> <DataTemplate DataType="{x:Type System:Object}"> <Grid></Grid> </DataTemplate> </Grid.Resources> ...
[ 0.23100562393665314, 0.020148837938904762, 0.5685312747955322, -0.112213134765625, -0.04029478505253792, -0.19238081574440002, 0.12455806136131287, -0.18648116290569305, -0.08748473972082138, -0.5819517374038696, -0.08128706365823746, 0.5112064480781555, -0.20577706396579742, 0.12458056211...
one, use it. Otherwise, display nothing. For example: ``` <ContentControl Content="{Binding YourContent}" ContentTemplateSelector="{StaticResource MyContentTemplateSelector}"/> ``` And in your selector (pseudo-code, obviously): ``` var dataTemplateKey = new DataTemplateKey() { DataType = theType; }; var dataTemplat...
[ 0.11169769614934921, -0.10053370893001556, 0.43402421474456787, -0.17902511358261108, 0.05622878298163414, -0.16669683158397675, 0.07203295826911926, -0.4218460023403168, 0.05125512182712555, -0.7282275557518005, -0.36349642276763916, 0.5814767479896545, -0.30358195304870605, 0.09778428077...
I've created a Windows CE 5.0 application which runs on a handheld scanner. The scanner has its own (hardware) keypad and almost all input comes from the scanning unit. Unfortunately whenever the text box receiving the scanned characters is focused the input panel appears at the bottom of the screen, blocking almost a...
[ 0.07956328988075256, 0.41992488503456116, 0.6378217935562134, -0.05705830827355385, -0.03210080415010452, 0.06763716787099838, -0.08964066952466965, 0.12349677085876465, -0.17292743921279907, -0.6696165800094604, -0.24943092465400696, 0.4012814462184906, -0.004766083788126707, 0.1397014111...
if you can remove that control manually - I've never tried. There may be an [agshell function](http://msdn.microsoft.com/en-us/library/ms927275.aspx) that will allow you to disable/remove it, or maybe some work with the InputPanel for your app can remove it. You may also want to [see this blog entry](http://www.christ...
[ 0.3568459153175354, 0.15048886835575104, 0.1662614494562149, 0.28912582993507385, 0.4138721227645874, 0.08906518667936325, 0.47587156295776367, 0.18251530826091766, -0.4694672226905823, -0.30512508749961853, -0.2277088314294815, 0.5350847244262695, -0.045171741396188736, 0.2239202708005905...
I'm using the recommendations laid down here (<http://www.odetocode.com/articles/473.aspx>) to write a JavaScript AJAX webchat system using simulated **Namespacing** and prototyping. In one of my prototype methods I'm calling the **$.ajax** method in **jQuery**. What I then want to do is pass the returned JSON data in...
[ 0.0764939934015274, 0.36957278847694397, 0.24109813570976257, -0.0604642890393734, -0.024104053154587746, -0.11162419617176056, 0.09573177993297577, -0.19102104008197784, -0.1853187531232834, -0.9291182160377502, 0.020620834082365036, 0.48497289419174194, 0.023287195712327957, -0.039519853...
method, that **this** no longer refers to our WebchatV3 object. The full JavaScript code is shown below: ``` /// <reference path="/JavaScript/jquery-1.3.2-vsdoc2.js" /> // Simulated 'namespace' var AvonAndSomerset = {} // Chatroom run time data AvonAndSomerset.WebchatV3 = function(memberId, passcode) { this.Membe...
[ -0.09877678006887436, -0.17692309617996216, 0.8166757225990295, 0.016664966940879822, -0.14399796724319458, 0.19580335915088654, 0.5017086863517761, -0.4009592831134796, -0.20549868047237396, -0.5255602598190308, 0.23957638442516327, 0.5461955070495605, -0.21243418753147125, 0.320056706666...
// Get latest Member,Quetsion,Transcript and Room data from server GetUpdate: function(StartUp) { $.ajax({ url: "JSON.aspx/Members_GetChanges", data: "{ MemberID: " + this.currentMember.memberId + ", Passcode: \"" + this.currentMember.passcode + "\", ReturnAll: " + StartUp + " }", suc...
[ -0.16503679752349854, -0.1307758092880249, 0.6320991516113281, 0.07546955347061157, 0.18764100968837738, -0.01798580400645733, 0.31124621629714966, -0.22830161452293396, -0.35236185789108276, -0.5941721200942993, -0.38529935479164124, 0.41118282079696655, 0.08561209589242935, 0.01126459427...
alert('Members_GetChanges() failed: ' + result.responseText); } }); }, // Callback - on success of GetUpdate() GetUpdate_Success: function(data) { alert('The AJAX call was successful!'); }, // Does the MemberID exist in the local array? Members_DoesExist: function(MemberID) {...
[ -0.3316723704338074, -0.26513320207595825, 0.3680022656917572, -0.09685783833265305, -0.02250814437866211, -0.20416094362735748, 0.49888718128204346, -0.4525202214717865, -0.2663516104221344, -0.48501962423324585, -0.41639575362205505, 0.5319960713386536, -0.3223148286342621, -0.4088553488...
way to fix this is to create a variable that references `this` at the proper scope required. `this` and scope work differently in javascript then most languages, in this case it is referring to the object being passed into the function. ``` // Get latest Member,Quetsion,Transcript and Room data from server GetUpdate: ...
[ -0.030048493295907974, -0.06808772683143616, 0.6572324633598328, -0.147052600979805, 0.18503162264823914, -0.28018462657928467, 0.2186020016670227, -0.2732790410518646, -0.26952433586120605, -0.6256478428840637, -0.2860080599784851, 0.5546607971191406, -0.2799171209335327, 0.12874329090118...
success: function(data, textStatus) { self.GetUpdate_Success(data) }, error: function(result) { alert('Members_GetChanges() failed: ' + result.responseText); } }); }, ```
[ 0.009557663463056087, 0.008326892741024494, 0.2769336998462677, -0.15614208579063416, 0.005653066094964743, 0.31255853176116943, 0.6995605826377869, -0.31954076886177063, -0.26313507556915283, -0.33300861716270447, -0.33821266889572144, 0.8141236901283264, -0.34652963280677795, 0.024038804...
I have a Telerik RadTree bound to an XMLDataSource. I want to set a node's text to consist of 2 attributes (number and name). See `<telerik:RadTreeNodeBinding>` Example: * "1. How are you?" * "2. How old are you?" XML: ``` <questions> <question name="How are you?" number="1" imageurl=""> </question> <questio...
[ 0.4394843280315399, 0.3331035077571869, 0.5817874073982239, -0.16734109818935394, 0.19849835336208344, 0.09589628130197525, 0.36722949147224426, -0.5174742341041565, 0.04437733069062233, -0.6298474669456482, 0.031691648066043854, 0.2946876287460327, 0.3451339900493622, 0.14357785880565643,...
Text='[<%# DataBinder.Eval("number")%>].[<%# DataBinder.Eval("name")%>]' ImageUrlField="imageurl" FormatString="{0}" Expanded="false" /> </DataBindings> </telerik:RadTreeView> ``` As a Spring.NET committer I am biased of course, but Spring.Web was entirely built and refined out of our own needs over the past...
[ 0.06718578934669495, -0.046652283519506454, 0.2551470696926117, 0.11625514179468155, -0.3152675926685333, 0.06174587458372116, 0.1633596122264862, -0.23618167638778687, -0.39163094758987427, -0.40093275904655457, 0.07329073548316956, 0.38920387625694275, -0.2796066701412201, 0.238588690757...
Previously Called: How to deal with dynamically created controls under load in aspx in response to a question below: the information required to determine which controls to restore is contained in a dedicated viewstate object. I am dynamically creating controls in the codebehind page - these controls are all hooked u...
[ -0.1840974986553192, -0.22673475742340088, 0.5088558793067932, -0.15936174988746643, 0.0036536240950226784, 0.18101677298545837, 0.18594683706760406, -0.2929980158805847, -0.4257839322090149, -0.5433616042137146, -0.20501120388507843, 0.6391218304634094, -0.3818049132823944, 0.062871083617...
if postback re-generate buttons that were shown on last page in click_handler Clear the dynamically generated buttons created in the Page_Load generate new buttons based on the specific click being handled ``` however when the server comes under load we start getting problems: With 5 users per second we start getti...
[ -0.3091941475868225, -0.27335324883461, 0.540764331817627, 0.101244255900383, -0.13369852304458618, 0.08112305402755737, 0.35600242018699646, -0.3485911786556244, -0.29199275374412537, -0.6941210627555847, -0.0732208713889122, 0.31741976737976074, -0.41027140617370605, 0.15871450304985046,...
be causeing this and how can I avoid it? Do html requests possibly overwrite and interfere with each other when under load? do objects somehow hand around after a page unload in a manner that would allow the next page load to trip over them? A private static variable was being used to store a dictionary of names and ta...
[ 0.1719786375761032, -0.22978273034095764, 0.45176100730895996, 0.07080058008432388, -0.40135592222213745, -0.1498946249485016, 0.18639056384563446, -0.1310834139585495, -0.2814841866493225, -0.17256659269332886, 0.13228464126586914, 0.2073017805814743, -0.5168130993843079, 0.37398248910903...
up then multpile requests were sharing this static dictionary. exactly what happened i'm not 100% sure - but under medium loads FindControl would find multiple controls of the same name, under very high loads it seems one request would try to modify a control (probably add to it) while it was in an invalid state from ...
[ 0.004850416444242001, -0.1332295835018158, 0.3399454951286316, 0.16691680252552032, -0.32499948143959045, -0.15800051391124725, 0.3016726076602936, -0.07186990976333618, -0.16317306458950043, -0.31562864780426025, -0.008707734756171703, 0.43962445855140686, -0.292024701833725, 0.3121128678...
We installed Service Pack 3 for SQL Server 2005 Standard Edition (64-bit). In the Add or Remove Programs menu we have the following entries under *Microsoft SQL Server 2005 (64-bit)*: * Service Pack 3 for SQL Server Integration Services 64-bit) ENU (KB955706) * Service Pack 3 for SQL Server Notification Services 2005 ...
[ -0.13984118402004242, 0.2527022659778595, 0.5504840016365051, -0.3506636619567871, -0.300586074590683, 0.09812700003385544, 0.5435558557510376, -0.1903574913740158, -0.06954975426197052, -0.6082243323326111, -0.2442900538444519, 0.49600979685783386, -0.37683457136154175, 0.0380341559648513...
24 2008 16:17:31 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2) Why does it not display that it is running Service Pack 3? The version 9.00.4035 uniquely identifies SP3, although it doesn't explicitly state SP3. That SP2 that you see is refe...
[ 0.03798507899045944, 0.3757450580596924, 0.18939538300037384, -0.15263089537620544, -0.28859376907348633, -0.26044774055480957, 0.39154887199401855, -0.16268162429332733, -0.3450624346733093, 0.09794560819864273, -0.28249624371528625, 0.17916987836360931, -0.12987253069877625, 0.0345118343...
What's the easiest way to convert these requests: ``` http://www.example.com/en/ http://www.example.com/en/index.php ``` To: ``` http://www.example.com/index.php?language_id=en ``` There's various PHP files, so the rule would also need to map ``` http://www.example.com/en/anyfile.php ``` To: ``` http://www.ex...
[ 0.12017777562141418, 0.36451488733291626, 0.7059401869773865, -0.1700529307126999, 0.045863572508096695, 0.15021328628063202, 0.2738274037837982, -0.27089837193489075, -0.09946714341640472, -0.8275049328804016, -0.20974355936050415, 0.5833314061164856, -0.14568258821964264, -0.150550618767...
back to the root folder. It also works if no filename is entered, automatically redirecting to index.php. You probably want to add the `QSA` flag to your rewrite rules, which will append any addiitonal bits on the query string to the rewritten request, e.g. ``` RewriteRule magic here [PT,QSA] ```
[ 0.29133281111717224, -0.06249690055847168, 0.42662471532821655, -0.03533142805099487, -0.002866743365302682, -0.17909401655197144, 0.382757306098938, 0.12302649766206741, -0.1308557689189911, -0.5519883036613464, -0.09014471620321274, 0.3203306496143341, -0.09565980732440948, -0.0565456561...
I'm using ASP.NET, some of my buttons just do redirects. I'd rather they were ordinary links, but I don't want my users to notice much difference in the appearance. I considered images wrapped by anchors, i.e. tags, but I don't want to have to fire up an image editor every time I change the text on a button. Apply this...
[ 0.05396023392677307, -0.13034364581108093, 0.82792067527771, 0.1577545702457428, -0.14596743881702423, 0.26596173644065857, 0.1566961407661438, -0.31195923686027527, -0.46448177099227905, -0.5164619088172913, -0.2198624461889267, 0.07919841259717941, -0.3891594111919403, 0.0438063703477382...
1px solid #CCCCCC; } ``` ```html <a href="#" class="button">Example</a> ```
[ -0.019265228882431984, 0.006454336456954479, 0.47606223821640015, -0.0690353587269783, -0.13551941514015198, -0.12077241390943527, 0.22880281507968903, -0.1930285096168518, -0.4122244715690613, -0.30610746145248413, -0.6612871885299683, 0.3081086575984955, -0.49365490674972534, -0.00861894...
The problem I'm struggling with is as follows: I have: ``` {% for field in form %} {{ field }} {% end for %} ``` What I want is to put an 'if' statement to exclude a field which .label or whatever is provided. Like: ``` {% for field in form%} {% if field == title %} {% else %} {{ field }} {...
[ 0.13295677304267883, 0.47727325558662415, -0.05136599391698837, -0.11185796558856964, 0.21744179725646973, -0.17084436118602753, 0.28012898564338684, -0.14778752624988556, 0.000002518739620427368, -0.39224913716316223, -0.06484600156545639, 0.4876419007778168, -0.30030113458633423, 0.36933...
any tips. BR, Czlowiekwidmo. Yes, this should be possible: ``` {% for field in form %} {% ifnotequal field.label title %} {{ field }} {% endifnotequal %} {% endfor %} ``` Django's [template tags](http://docs.djangoproject.com/en/dev/ref/templates/builtins/#ref-templates-builtins) offer `ifequal` and...
[ 0.3546084761619568, 0.17661167681217194, 0.5705153346061707, -0.1474262773990631, -0.24914675951004028, -0.37160059809684753, -0.03958040848374367, -0.3391209840774536, -0.01953708566725254, -0.31994256377220154, 0.17336542904376984, 0.8115928173065186, -0.01727204956114292, -0.26613929867...
Can MOSS integrate and get user profiles from multiple Active Directory and/or LDAP stores? I have seen from [Integrating Microsoft SharePoint Server With Oracle Virtual Directory](http://www.oracle.com/technology/products/id_mgmt/ovds/pdf/ovd-sharepoint-wp-v3.pdf) that there may be intermediary products that can help...
[ -0.18200184404850006, -0.13896217942237854, 0.18467651307582855, 0.18621885776519775, 0.01673082262277603, -0.253685861825943, -0.12208201736211777, -0.19334110617637634, -0.12701022624969482, -0.3949044942855835, 0.006827176082879305, 0.37054067850112915, -0.13034816086292267, -0.09822883...
profile information, link on above link. Besure to run the command also on your MySites so that profile is correct. Alot more information can be found by searching for sharepoint and multiple forests.
[ 0.39006945490837097, -0.20488809049129486, 0.2449752390384674, 0.41761061549186707, -0.17324993014335632, -0.1941753774881363, 0.5544143915176392, 0.22586368024349213, -0.295085072517395, -0.8294771313667297, -0.018779566511511803, 0.2161799669265747, 0.042821869254112244, 0.19661867618560...
I have an (XHTML Strict) page where I float an image alongside regular paragraphs of text. All goes well, except when a list is used instead of paragraphs. The bullets of the list overlap the floated image. Changing the margin of the list or the list items does not help. The margin is calculated from the left of the p...
[ 0.3436071574687958, 0.17528130114078522, 0.7408666014671326, 0.03692030534148216, -0.310057669878006, -0.052500057965517044, -0.12325811386108398, -0.11341577023267746, -0.10350219905376434, -0.5158929228782654, 0.3026222288608551, 0.10429161787033081, -0.03613780066370964, 0.0315538495779...
list is next to a float. I don't want to float every list in my content just to fix this. Also, floating left messes up the layout when an image is floated *to the right* instead of left of the list. Setting `li { list-style-position: inside }` does move the bullets along with the content, but it also causes lines tha...
[ 0.19489450752735138, 0.08154312521219254, 0.6441587805747986, -0.00831989198923111, -0.22564075887203217, -0.07402626425027847, 0.060996536165475845, -0.3565225601196289, -0.2975199818611145, -0.5973555445671082, 0.32937920093536377, 0.03406393527984619, -0.2641729712486267, 0.111945904791...
itself). This is how IE and FF handle the situation, and as far as I know, not wrong according to the spec. The question is, how can I prevent it? I have found a solution to this problem. Applying an `ul { overflow: hidden; }` to the `ul` ensures that the box itself is pushed aside by the float, instead of the contents...
[ 0.22415295243263245, -0.04254399240016937, 0.5044375061988831, -0.11699113994836807, 0.15931352972984314, -0.20252768695354462, 0.3200587034225464, -0.23913772404193878, 0.06958451122045517, -0.5659692287445068, -0.23904669284820557, 0.7869258522987366, -0.21599163115024567, 0.133208841085...
I have a production server with apache2, php, mysql. I have just one site right now (mysite.com) as a virtual host. I want to put phpmyadmin, webalizer, and maybe webmin on there. So far, I installed phpmyadmin, and it works but the whole internet can go to mysite.com/phpmyadmin How can I reduce the visibility to say ...
[ 0.5175855755805969, 0.3674139678478241, 0.5233263969421387, 0.0723152756690979, -0.17335906624794006, -0.1303713470697403, 0.3879644274711609, 0.109312042593956, -0.23615960776805878, -0.8030354380607605, 0.024396223947405815, 0.44734859466552734, -0.08485296368598938, 0.5700517296791077, ...
Deny from all Allow from 10.1.2.3 </Directory> ``` **2) You can do it at the application level using the phpmyadmin config file.** The configuration parameter is: `$cfg['Servers'][$i]['AllowDeny']['rules']` Examples of rules are: ``` 'all' -> 0.0.0.0/0 'localhost' -> 127.0.0.1/8 'localnetA' -> SERVER_ADDRESS/...
[ 0.3666669428348541, 0.19404231011867523, 0.5695855617523193, 0.006738766562193632, -0.14559203386306763, -0.5679038763046265, 0.5940008163452148, -0.3493756353855133, 0.0017993015935644507, -0.3774154782295227, -0.08283573389053345, 0.5003125667572021, -0.5025070905685425, 0.48540133237838...
I have a C# application over MySql, using [MySQL Connector](http://www.mysql.com); I'm trying to make a DataReader request, the query executes fine, however, when trying to access a DateTime field, i'm getting MySqlConversionException {"Unable to convert MySQL date/time value to System.DateTime"} this is the prototyp...
[ -0.018410103395581245, -0.32484811544418335, 0.6314719915390015, 0.0708325207233429, 0.21649731695652008, 0.0072603002190589905, 0.3798041045665741, 0.1428205370903015, -0.1026524156332016, -0.7149676084518433, 0.10796599835157394, 0.4642306864261627, -0.41345489025115967, 0.42620515823364...
Ideally I'd like to be able to copy/move between an accessible folder on my local drive and a network share that I don't have permission to access (but the application would). I am using impersonation to give me access to the files in the network share but using System.IO File.Move or File.Copy forces me to use the sa...
[ 0.51856529712677, -0.04476172849535942, 0.34254205226898193, 0.26080089807510376, 0.287591814994812, -0.19646191596984863, 0.1205771267414093, 0.06251182407140732, -0.1727921962738037, -0.7660004496574402, -0.1339394748210907, 0.5906442999839783, -0.5014888048171997, 0.0285220704972744, ...
then have the application copy the file from the temp location to the desired end result. We have done this before in our applications, it isn't elegant, but it works perfectly!
[ 0.39211100339889526, -0.031683821231126785, 0.30500078201293945, 0.3694877326488495, 0.3492295444011688, -0.18947963416576385, 0.056803785264492035, -0.015797249972820282, 0.25903624296188354, -0.5302031636238098, 0.027425363659858704, 0.42824679613113403, -0.07959593087434769, 0.023712711...
I have been saddled with using an in-house data access library that is effectively XML passed to a stored procedure, which returns XML. There is nothing I can do about this. I tried to get ActiveRecord approved, but my request was declined. However, using the excellent code provided at <http://blog.bodurov.com/Post.asp...
[ 0.15776588022708893, 0.2504948377609253, 0.4744310975074768, -0.20967862010002136, -0.17601564526557922, -0.31670284271240234, 0.17193429172039032, -0.17464935779571533, 0.15330195426940918, -0.8143989443778992, -0.16759070754051208, 0.5369670391082764, -0.26248496770858765, 0.185628116130...
have Save() methods too, so that I can ape the ActiveRecord pattern and provide my web guys with an intuitive object layer to use from ASP.net. How do I write a method in Visual Studio, in source code, and attach it at runtime to the emitted objects? I am not interested in (or qualified for) writing assembly or IL. I'...
[ 0.6664920449256897, 0.023755228146910667, 0.16565264761447906, 0.0943758636713028, -0.059553343802690506, -0.2362213432788849, 0.01805838756263256, -0.005581883247941732, -0.2028845250606537, -0.7290092706680298, 0.10506242513656616, 0.5207867622375488, -0.3864225745201111, -0.371656477451...
get the values. If that's the case, there's no easy way to add methods on to those objects. However, if the XML structure will be the same every time the SP executes, why not create a concrete class that has all the properties you need, and populate a collection of those objects yourself with the XML. That way, you can...
[ 0.4865460693836212, -0.13679930567741394, 0.21346095204353333, 0.2834106981754303, -0.07301768660545349, -0.21463623642921448, 0.12205041199922562, -0.6381864547729492, -0.33098945021629333, -0.5459815263748169, 0.03302888944745064, 0.5983214974403381, -0.41768330335617065, -0.152789533138...
type to extend. [Link.](http://msdn.microsoft.com/en-us/library/4zfbcfc1.aspx). Therefore, create an interface (it doesn't event have to have any methods in it), and when you're dynamically building up the type, extend that interface using the overload I linked you to. Then create an extension method on that interface ...
[ 0.24835413694381714, -0.039528898894786835, 0.4699951410293579, -0.016994858160614967, -0.14521031081676483, -0.01902289129793644, 0.11848242580890656, -0.26046332716941833, -0.039503078907728195, -0.8487516045570374, 0.13296152651309967, 0.4668526351451874, -0.6061379909515381, -0.0485288...
private static TypeBuilder GetTypeBuilder(string typeSigniture) { AssemblyName an = new AssemblyName("TempAssembly" + typeSigniture); AssemblyBuilder assemblyBuilder = AppDomain.CurrentDomain.DefineDynamicAssembly( an, AssemblyBuilderAccess.Run); ...
[ -0.045187149196863174, -0.374133437871933, 0.262473464012146, -0.20539455115795135, 0.22731822729110718, 0.283361554145813, 0.47447991371154785, -0.35271161794662476, 0.010491399094462395, -0.23901277780532837, -0.35379716753959656, 0.5272805094718933, -0.47348472476005554, 0.3735045790672...
TypeBuilder tb = moduleBuilder.DefineType("TempType" + typeSigniture , TypeAttributes.Public | TypeAttributes.Class |
[ 0.4739101529121399, -0.06861715018749237, 0.1867402195930481, -0.09724632650613785, 0.1416461318731308, 0.19903813302516937, 0.7497841715812683, -0.6331239938735962, 0.27402037382125854, -0.33891403675079346, -0.14944620430469513, 0.38799577951431274, -0.7015795111656189, 0.148444026708602...
TypeAttributes.AutoClass | TypeAttributes.AnsiClass | TypeAttributes.BeforeFieldInit |
[ -0.3230806589126587, -0.11817610263824463, -0.045199982821941376, -0.12218139320611954, -0.15024742484092712, 0.13683710992336273, 0.27449026703834534, -0.019648388028144836, 0.141564279794693, -0.45831099152565, -0.37091803550720215, 0.2127499282360077, -0.4757136106491089, -0.21901863813...
TypeAttributes.AutoLayout , typeof(object), new Type[] {typeof(ISaveExtentable)}); return tb; } ``` Then, create an extension method on that interface to do the save: ``` public static class SaveExtendableExtensions {
[ 0.08383115381002426, -0.24408110976219177, 0.4810166358947754, -0.22246859967708588, 0.41870224475860596, 0.15436963737010956, 0.27285629510879517, -0.16274677217006683, 0.14557820558547974, -0.4998314380645752, -0.24474182724952698, 0.7125879526138306, -0.49622634053230286, 0.031931318342...
public static void Save(this ISaveExtentable ise) { //implement save functionality. } } ``` You'll most likely need to use reflection in your Save method to get all the properties since the type was created dynamically.
[ 0.1669807881116867, 0.05875442922115326, 0.009966885671019554, -0.03558337315917015, -0.04411637410521507, -0.2552887499332428, 0.4036392569541931, 0.08630350977182388, -0.0516696460545063, -0.5916271805763245, -0.053186994045972824, 0.6818904876708984, -0.3514748811721802, 0.0231229364871...
I've been a web developer for really quite some time now, but this is something I've never really done, and my progress so far has used some very complex methods. The following is the layout I want, there are *rules* to this layout though, as I will explain in a moment. ``` ----------------------------------------...
[ 0.523318886756897, 0.1908135712146759, 0.3480561673641205, -0.09702505171298981, 0.22678320109844208, -0.28423213958740234, -0.22920653223991394, 0.051090072840452194, -0.10152236372232437, -0.8549961447715759, 0.2599409818649292, 0.5770276188850403, -0.2009231597185135, -0.029298966750502...
| ---------------------------------------------------- ________ _______________________________________ | | | | | | |
[ -0.5690515041351318, 0.5460516810417175, 0.195264533162117, -0.08487506955862045, 0.005332781933248043, 0.5785366296768188, 0.4950682818889618, -0.4660548269748688, 0.20942528545856476, -0.3578982353210449, -0.18825417757034302, 0.3196203112602234, -0.3819153308868408, 0.33148911595344543,...
| | | | | | | |
[ -0.1314079612493515, 0.3227202892303467, 0.5047649145126343, -0.28288352489471436, 0.18900242447853088, 0.09857501834630966, 0.5833961367607117, 0.0240813996642828, -0.09670437127351761, -0.4015827476978302, -0.05251508951187134, 0.1830804944038391, -0.36924585700035095, 0.1414520740509033...
| | | | | | | |
[ -0.1314079612493515, 0.3227202892303467, 0.5047649145126343, -0.28288352489471436, 0.18900242447853088, 0.09857501834630966, 0.5833961367607117, 0.0240813996642828, -0.09670437127351761, -0.4015827476978302, -0.05251508951187134, 0.1830804944038391, -0.36924585700035095, 0.1414520740509033...
| | | | | | | |
[ -0.1314079612493515, 0.3227202892303467, 0.5047649145126343, -0.28288352489471436, 0.18900242447853088, 0.09857501834630966, 0.5833961367607117, 0.0240813996642828, -0.09670437127351761, -0.4015827476978302, -0.05251508951187134, 0.1830804944038391, -0.36924585700035095, 0.1414520740509033...
| |________| | | |
[ -0.5538787841796875, 0.5221042037010193, 0.00587465800344944, -0.22765971720218658, 0.016174638643860817, 0.10983951389789581, 0.4948355257511139, 0.07833508402109146, -0.11507312208414078, -0.027918683364987373, -0.06422381848096848, 0.37729594111442566, -0.3010663688182831, -0.0933148339...
| | | |
[ -0.18206581473350525, 0.2749342918395996, 0.46267056465148926, -0.512140691280365, 0.0756695419549942, 0.014543266966938972, 0.5250948667526245, 0.16347238421440125, -0.15377552807331085, -0.4539424479007721, 0.1049787625670433, 0.22494570910930634, -0.35328975319862366, -0.056681960821151...
| | |
[ -0.2588772773742676, 0.2678799033164978, 0.3777236342430115, -0.5703731775283813, 0.036709949374198914, 0.031351905316114426, 0.47688859701156616, 0.16897015273571014, -0.09046411514282227, -0.47316494584083557, 0.11175742745399475, 0.2441893219947815, -0.3436852991580963, -0.1708310842514...
| | |_______________________________________| ``` The sidebar and the header are *static* and so is the body, however you can scroll the body. Using the CSS property overflow:scroll on a container for the body section is not an option. The reason being is that it's...
[ 0.2802842855453491, 0.1881597638130188, 0.36925333738327026, 0.23123474419116974, 0.059486083686351776, -0.1938014030456543, 0.03529573231935501, 0.3144327402114868, -0.0657464936375618, -0.5240350365638733, -0.11826261132955551, 0.3027690351009369, -0.1770581603050232, 0.32508566975593567...
ASP.NET application which utilises the maintainpositiononscrollback, meaning that the *browser* scrollbar - not a contain scrollbar - is what is used to record the x and y position. I have achieved this but using some complex layout techniques which just aren't pretty. So my HTML looks like the following: ``` <div id...
[ -0.0923820212483406, -0.37369850277900696, 0.9171728491783142, 0.093008853495121, -0.4532542824745178, 0.0926949679851532, 0.04862050712108612, -0.2936844527721405, -0.28827646374702454, -0.8495995402336121, -0.09451824426651001, 0.23589619994163513, -0.04190511628985405, -0.23417688906192...
<asp:ContentPlaceHolder ID="MainContent" runat="server" /> </div> </div> <div id="content-right-border"></div> <div id="content-bottom-border"></div> <div id="bottom-block"></div> ``` So I use all of these divs for a specific reason, so I can absolutely position borders on the content area. The rest of the divs ac...
[ 0.14892549812793732, -0.32327035069465637, 0.7535970211029053, -0.05635334923863411, -0.1470901221036911, -0.043504875153303146, -0.03302978724241257, -0.06911241263151169, -0.3185674548149109, -0.7362203001976013, -0.12648554146289825, 0.22212597727775574, -0.09439447522163391, 0.06911766...
position:fixed; top:30px; left:0; overflow:auto; bottom:4px; width:148px; background-color:#d7d7d7; } div#sidebar ul { border:1px solid #9a9a9a; border-bottom:0; font-family:Tahoma; margin:0 0 0 4px; padding:0; list-style-type:none; font-size:0.75em; width:137px;...
[ -0.429463654756546, 0.02599819004535675, 0.7382264733314514, -0.17274349927902222, 0.0047470685094594955, 0.6974356770515442, 0.10782309621572495, -0.21420088410377502, -0.2352043092250824, -0.44239872694015503, -0.6929755210876465, 0.2598961591720581, -0.31413495540618896, -0.069768197834...
causing a block. When you horizontally scroll the page, the content will be hidden when it hits the sidebar. This creates an effect much like any client-side application. ``` #content-wrap { position: absolute; top: 30px; bottom: 15px; left: 147px; right:0; background-color:#d7d7d7; z-index...
[ -0.14472274482250214, 0.040702562779188156, 0.7742283344268799, -0.018431417644023895, 0.04825273156166077, 0.04812861606478691, 0.42541220784187317, -0.149105042219162, -0.2005426585674286, -0.5114448070526123, -0.5425354838371277, 0.22461473941802979, -0.37665531039237976, 0.146653056144...
color:#292929; } ``` So you can see that the #content has absolute positioning keeping it in that content box. Anything outside of the content box is *never* displayed even if you scroll horizontally or vertically. Are there better ways of doing this? It seems a heck-of-a-lot of HTML/CSS to be doing something really...
[ 0.48235392570495605, 0.09285636991262436, 0.3384626805782318, -0.14001265168190002, -0.10471309721469879, -0.10812538117170334, 0.20134703814983368, 0.19278372824192047, -0.32704615592956543, -0.8448256254196167, -0.24566468596458435, 0.6954761147499084, -0.3977341651916504, -0.25493952631...
This is based on business requirements, I don't have a choice :) Fixed position elements are typically a bit of a warning sign for me- by taking things out of the document flow you are losing one of the main benefits of CSS, which is it's flexibility. Again, by mixing px and em measurements you are creating a slightly ...
[ 0.27873045206069946, 0.20564445853233337, 0.026910075917840004, 0.19217894971370697, -0.22444528341293335, -0.1399659365415573, 0.16134051978588104, -0.09808170795440674, -0.29996758699417114, -0.48868462443351746, -0.10076437890529633, 0.3217354118824005, -0.19493219256401062, -0.19140011...
using the maintainpositiononscrollback option from ASP.NET? It wouldn't be too hard to implement a bit of light javascript to create an equivalent effect on an overflowed div. If you are stuck with the asp.net code, do you *have* to have your text in a small box like that or could you just let the page be as long as th...
[ 0.37288936972618103, -0.08104661852121353, 0.2971009612083435, 0.19857507944107056, -0.17020119726657867, -0.4723926782608032, 0.3405109643936157, 0.08609391748905182, -0.19196993112564087, -0.2627871632575989, 0.10214763134717941, 0.698710024356842, -0.08631405979394913, -0.16902260482311...
you the behaviour you are looking for. If you're losing most of the benefits of semantic html and css in order to implement the design you want then you're not going to sacrifice much more by taking a different approach to the design.
[ 0.4286976754665375, -0.23147210478782654, 0.010002833791077137, 0.18968582153320312, -0.3216511309146881, 0.18313518166542053, 0.6615012884140015, 0.2132076472043991, -0.48603305220603943, -0.6522442102432251, -0.21735087037086487, 0.7076684832572937, -0.34572795033454895, -0.0948495641350...
Like the title says; how do I load every file in a directory? I'm interested in both c++ and lua. Edit: For windows I'd be glad for some real working code and especially for lua. I can do with boost::filesystem for c++. For Lua, you want the module [Lua Filesystem](http://www.keplerproject.org/luafilesystem/). As ob...
[ -0.049518417567014694, 0.054390955716371536, 0.18468815088272095, -0.021709319204092026, 0.09529493749141693, -0.003137045307084918, -0.1126023605465889, 0.1307176798582077, -0.3083643615245819, -0.34343788027763367, -0.15649431943893433, 0.4890618622303009, -0.17709065973758698, -0.121902...