huikm
Posts
-
log scale axis for charts1 log(1) 2 log(2) ... ... 10 log(10) given a length, do: length * mf[] to get the distance of each tick with respect to the index x -
drag and resize custom control on designer surfacethe control is derived from: public class XYChart : System.Web.UI.WebControls.WebControl {...} the project was created using Web Control Library wizard option. i experimented with another skeleton Web Control Library project and its the same problem on the designer surface hosted within a asp.net web application project. previously, i created an empty web project and included the XYchart web control library project in it and i was able to drag and resize my control on the designer surface without adding any additional codes. i tried copying the dlls from the web control project's bin/debug to the web project bin folder and reference it but it doesn't help. the point is i could not drag and resize my custom control on a aspx form designer surface in asp.net web application project but i could do it on a aspx form designer surface in an empty web project. huikm
-
drag and resize custom control on designer surfacehi, i am developing a web control in a asp.net application project and derived my custom class from a webcontrol. after inserting onto the designer surface, i cannot resize it but can only drag and move it anywhere on the designer surface. how can i resize my control by dragging its handlers? it doesn't allow that right now. i initially got started on a empty web project and with the same control, i could resize the control on the designer surface. am wondering why it doesn't with the asp.net application project setting.. thanks, huikm
-
log scale axis for chartsi am attempting to develop a custom control and got somewhere with the linear scale axis. how do i go about creating a log scale? is there a formula that dictates the spacing between ticks or i have to keep some sort of normalized table that stored relative tick to tick units and use that to do translation. if so, is there such a look up table? use to refer to a log table handbook before the calculator came along. hope some kind souls or chart control developers can give me some pointers.. thanks huikm
-
handling CDATA in xml schemaAm encountering the following problem. in my xml doc, there is elment as such: the corresponding autogen xml schema from VS.NET returned my understanding is the CDATA tag is asking the xml parser to ignore what is enclosed by the CDATA tag. By the same token, i would think the xml schema should also ignore the element value of COMMAND. well, I isolated the xml schema validation is failing at this point. How should the xml schema really be to handle CDATA? thanks, huikm
-
treeview web controli am running the treeview control in a .aspx page. the webctrl_client folder under wwwroot, which exists after installation. meng
-
treeview web controli am not sure what you mean? the project is created and mapped to http://localhost . do you mean i have to go into IIS manager and created a virtual directory to the my current project folder like c:\Inetpub\wwwroot\my project...? meng
-
treeview web controlhi.. sorry.. long weekend over here is singapore to celebrate deepavali.. anyway. am still keen on solving this: this is the generated html segment : RD Projects Node2 Node3 Node4 Node5 Node6 i have no idea how proper generated html rendered codes would look like. any enlightening here is deeply appreciated. meng STAr-Quest
-
treeview web controli am using the treeview web control downloaded from Microsoft Internet Explorer Web Controls. i followed the example to the Letter but when the html rendered, all the nodes showed up 1 straight line. am totally lost how to get this working. anyone come across the same problem and solved it? thanks, huikm
-
XML Schema:constraint attribute integerthanks alot! the pattern works... meng
-
creating ELEMENT with default namespacei have the following xml document with a default namespace. something i did all the MSXML4 necessary things to work with the default namespace and got the Xpath expression working with the selectsinglenode() and selectnodes(). now when i create the tag , i get an unwanted empty xmlns attribute in the new tag and its causing all the Xpath expression to break. something something how do i get rid of this xmlns="" attribute? I tried removeNamdItem("xmlns") but it does not work. how do i prevent the empty xmlns attribute from apprearing? a workaround i did was to get xmldoc->getxml(), search and replace the xmlns="" but that is not a viable solution. thanks.. meng
-
xpath & namespacei introduced a namespace into the XML document and all the Xpath construct did not work. It was working before i introduced the namespace. what is wrong? something 1 something 2 selectNodes(_bstr_t(_T("//TEST")); // working with namespace something 1 something 2 selectNodes(_bstr_t(_T("//TEST")); // error i added the namespace cos i am doing xml schema validation using MSXML4 which turned out to be ok. but with the xmlns..., all the xpath expressions failed. This is my first encountered with namespace in xml document appreciate any help advise. thanks meng