|
|
Not part of the development environment.
Is there a way to have visual studio 2005 launch FireFox instead of IE?
|
|
|
|
|
Just Right Click on the Website in the Solution Explorer and click the option Browse With.
There add the firefox.exe and you can then use the firefox browser instead of IE.
Regards,
Kaushal Arora
|
|
|
|
|
Thank You for your great assistance....
|
|
|
|
|
Hi friends,
I use Ajax to solve the problem, when a client directly click the close button.
In the i call the ajax function to delete the user details from the database.
But the problem is whenever the user navigate to the other form the function was called and the user details were deleted from the DB. Is there is anyway to solve this problem?
|
|
|
|
|
Use the call() in the button_click event, not in body_unload
|
|
|
|
|
He is saying browser close event
there is not button_click event for that
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
I said, use the button instead of the browser.
Like:
|
|
|
|
|
Hello friend
i am using .net chart in my web application .it run perfectly till 8 item when item is over than 8 then it show all the bar but hide one alternate bar date time at x axis.it show one bar date time and hide next bar date date time.Please help me to resolved from this problem
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Hard to understand what you're talking about, harder still to help without knowing what control you're using and seeing some code.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
i am using asp:chart control bind with data set it show all the bar but hide one alternate value of datetime at X axis.
y-axis:->1,2,3,4,5,6,7,8,9,,,,,,,,100(values of Y Axis)
y-axis:->a,-,c,-,e,-,g,-,i,,,,,,,,,Z (Date Time(28 aprl 2009) values of X Axis)
( - is indicate to hide value,)
i don't know why it act like this type...
(asp:Chart ID="uxchartByDay" runat="server" Width="900px")
(Series)
(asp:Series Name="Series1" XValueType="DateTime" )
(/asp:Series)
(/Series)
(ChartAreas)
(asp:ChartArea Name="MainChart" BorderWidth="0")
(InnerPlotPosition X="5" Y="5" /)
(AxisY LineColor="64,64,64,64")
(LabelStyle Font="Trebuchet MS, 10pt, style=Bold" /)
(MajorGrid Enabled="false" /)
(MajorTickMark Enabled="false" /)
(/AxisY)
(AxisX LineColor="64,64,64,64")
(LabelStyle Font="Trebuchet MS, 10pt, style=Bold" /)
(MajorGrid Enabled="false" /)
(MajorTickMark Enabled="false" /)
(/AxisX)
(/asp:ChartArea)
(/ChartAreas)
(%-- (ChartAreas)
(asp:ChartArea Name="ChartArea1")
(/asp:ChartArea)
(/ChartAreas)--%)
(/asp:Chart)
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Answer :- uxchartBySize.ChartAreas(0).AxisX.Interval = 1
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Hi,
In my application i want to encrypt my url with querystring,how to do this, if any one of you friends knows plz let me know..
kannak
|
|
|
|
|
Use HttpServerUtility.UrlEncode.
|
|
|
|
|
SeMartens wrote: Use HttpServerUtility.UrlEncode
That is not encryption. That is modifying a string so it can be used in a URL.
|
|
|
|
|
Sorry, you are right. Read this question so many times before, I just read encoding...
|
|
|
|
|
what do you mean ? You can't encrypt your url through the querystring. You can make your URL anything you like, but.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Take a look at this article Encrypt a Querystring with Expiration[^]
Please be advised that only querystrings can be passed through this exercise. You still need to pass other components as-it-is.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Hi Devs,
I am just wondering what would be the best way to generate XML using user selected values.
For instance, if user checks something - it retrieves its id from database and generate xml accordingly. So xml should contain elements according to the user selection.
And i want this to be stored in may be a text box in the form.
Any suggestions or example source code would be of great help to move forward.
Danke.
Andyyy
|
|
|
|
|
There's an XmlTextWriter class, or similar, which allows you to make API calls and it will make sure the XML is well formed.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Thanks Christian for your reply.
There are two classes XMLTextWriter and XMLDocument class. Which one is better ?
I am bit lost at the moment. I will tell you exactly what i am trying to do.
Basically in the webpage, there are various dropdown box and checkbox whose values are retrieved from the databasse. Till this part it's all working fine.
Now when user select the item and check relevant checkboxes, there is a button to generate xml.
The xml should look like:
user>
accountdetails>
useraccounts crit="0">
useraccount>
accountstatus id="1" />
/useraccount>
/useraccounts>
addresses>
address>
countries crit="0">
country id="123" />
/countries>
/address>
/addresses>
p.s. it was not displaying my xml code, so i removed "<" from every line.
The account Details is just a one subelement of user root element. There are many elements. And these all element should only exist in the xml if user select it.
So what should be my next move. Can you show me a syntax for one section. And is it possible to retrieve the value of the selected item.
Like where it says accountstatus id="1" />, can i write something like this - (dropdownbox1.selectedItem)
Thank you
|
|
|
|
|
Hi I have written one javascript function to create messagebox using div. The script is given below.
function showBox(str)
{
debugger;
var width = document.documentElement.clientWidth + document.documentElement.scrollLeft;
var layer = document.createElement('div');
layer.style.zIndex = 2;
layer.id = 'layer';
layer.style.position = 'absolute';
layer.style.top = '0px';
layer.style.left = '0px';
layer.style.height = document.documentElement.scrollHeight + 'px';
layer.style.width = width + 'px';
layer.style.backgroundColor = 'LightGray';
layer.style.opacity = '.7';
layer.style.filter += ("progid:DXImageTransform.Microsoft.Alpha(opacity=80)");
document.body.appendChild(layer);
var div = document.createElement('div');
div.style.zIndex = 3;
div.id = 'box';
div.style.position = (navigator.userAgent.indexOf('MSIE 6') > -1) ? 'absolute' : 'fixed';
//div.style.border==" "
div.style.top = '200px';
div.style.left = (width / 2) - (400 / 2) + 'px';
div.style.height = '100px';
div.style.width = '400px';
div.style.backgroundColor = 'White';
div.style.border = '4px solid silver';
div.style.padding = '20px';
document.body.appendChild(div);
var myimg = document.createElement('IMG');
myimg.src= "../images3.jpg";
myimg.width= '50';
myimg.height = '50';
myimg.visible="true";
div.appendChild(myimg);
var p = document.createElement('p');
p.innerHTML = str;
p.style.position = "absolute";
p.style.top = '20px';
p.style.fontSize=14+'px';
p.style.fontWeight = "bold";
p.style.left = (width / 2) - (800 / 2) + 'px';
div.appendChild(p);
var btn=document.createElement('Button');
btn.innerHTML='Ok';
btn.style.border='2px solid silver';
btn.style.opacity = '.6';
btn.style.fontSize=16+'px';
btn.style.fontWeight = "bold";
btn.style.border='solid';
btn.style.position = "absolute";
btn.style.top = '100px';
btn.style.left = (width / 2) - (620 / 2) + 'px';
btn.onclick = function()
{
document.body.removeChild(document.getElementById('layer'));
document.body.removeChild(document.getElementById('box'));
};
div.appendChild(btn);
}
I dont have any problem in this script. The only problem i have is , I am unable to apply image of round corner to the border of that message box.
Does anybody has solution for my problem. How can i do this.
Thank You in advance.
.
|
|
|
|
|
The obvious issue is, for you to have a rounded corner, the bit that's meant to be rounded off, needs to look the same as the form underneath. Unless you're able to use PNGs and the browser respects their transparency, I don't see how this could work.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Apply PNG file to set corner rounded
|
|
|
|
|
i cant access data grid dynamically..........
|
|
|
|