|
Three possible causes spring immediately to mind, all of which normally only cause small differences in control positions. So if you are experiencing large variations these are probably not the cause of your problem.
1) You are probably already aware that having different screen resolutions can cause slight movement in controls.
2) Also having different DPI settings can do the same.
3) One computer having Large Fonts enabled and one not, sometimes causes weird effects.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi
I want to search Data in DatagridView on Keypress Event. Like If i press any key then the data starts with that latter should be selected one by one for the selected cell in selected column.
So How can I do it?
Thanks in advance
|
|
|
|
|
how to create a crystal report in vb.net using ms access.i want a step by step process to create a report using MS ACCESS
|
|
|
|
|
|
|
|
Hello Guna,
Well I might not get your whole idea of gridview paging so please bear with me if I am wrong but there are options in the GridView properties that allows for paging right? and recalling to my limited knowledge I don't think there is any need to use the SqlSever ROW_Number() function.
This is my first time trying to give opinions and stuffs so sorry for any misguidance and lack of knowledge
|
|
|
|
|
You can set AllowPaging to true in your gridview, then under
the event PageIndexChanging for your gridview add a method that does something like:
protected void YourGridViewName(object sender, GridViewPageEventArgs e)
{
YourGridViewName.PageIndex = e.NewPageIndex;
YourGridViewName.DataBind();
}
|
|
|
|
|
Add html in gridview tag
<asp:gridview id="gdcomp" .........="" allow="" paging="True" pagesize="10">
Then
In Business layer:
Protected Sub gdcomp_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles gdcomp.PageIndexChanging
gdcomp.PageIndex = e.NewPageIndex
End Sub
I hope this is helpful for u.
|
|
|
|
|
Below javascript locally working but after uploading on server not working even data is there in DB, I mean logically it should display but not.
imgCounter = 0;
ipCounter = 0;
setTimeout("updateImage()",500);
function updateImage()
{
//alert('enter updateImage');
var currentImageSrc = new Array();
//alert('Before Hidden');
var hiddenImage=document.getElementById("Hiddenid11").value
var hiddendata=document.getElementById("Hiddenid13").value
var hiddenTitle=document.getElementById("Hiddenid12").value
var AdvertiseMentId=document.getElementById("Hiddenid15").value
//alert('After Hidden');
//var currentImageSrc = new Array();
currentImageSrc=hiddenImage.split("||")
//alert('enter SPLIT');
var finddata = new Array()
finddata=hiddendata.split("||")
var ImageTitle = new Array()
ImageTitle=hiddenTitle.split("||")
var AddId = new Array()
AdvertiseMentId=AdvertiseMentId.split("||")
if(currentImageSrc.length > 1)
{
//alert('currentImageSrc enter updateImage');
var RotateDiv=document.getElementById("RotateDiv");
if(finddata[imgCounter]==1)
{
//alert("Inside");
//alert('Block if');
RotateDiv.style.display="block"
RotateDiv.innerHTML=currentImageSrc[imgCounter]
}
else
{
//alert('Block else');
RotateDiv.style.display="block"
RotateDiv.innerHTML="<IMG width='800' height='75' onclick='javascript:incCount("+AdvertiseMentId[imgCounter]+");' id='rotateImg' style='CURSOR: hand ; border:Solid 2px #000000;' alt='"+ImageTitle[imgCounter]+"' src='Images/ADD/"+currentImageSrc[imgCounter]+"'>";
}
imgCounter=imgCounter+1;
var TotalImages=document.getElementById("Hiddenid14");
if(imgCounter >= TotalImages.value)
{
imgCounter=0;
}
setTimeout("updateImage()",5000);
//alert('end updateImage');
}
}
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
A few points.
- Your code is javascript, but this forum is the .NET Framework. You stand less chance of getting an answer here than in, say, the web development forum.
- Putting "I need solution urgent" is just plain rude. You may not have noticed, but we are all volunteers here. If you need an answer so bloody urgently, pay for it.
- You've given no indication as to what's wrong with your code, and I'm not going to wade through it trying to figure it out.
- You should wrap your code in pre tags so it gets formatted properly.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I have a solution which works on a sql database . In my solution I have a SqlServerProject which attaches the database file to local server by right-clicking on it and click Deploy and a SetupProject and other projects . I want to install this solution on a target computer and I want to know what to do with my SetupProject to do the Deployment task of my SqlServerProject?
|
|
|
|
|
Stop cross posting and maybe someone will offer suggestions
only two letters away from being an asset
|
|
|
|
|
What do you mean by that?!
|
|
|
|
|
He means that you should pick the most appropriate forum and stick with it. If you have a question in the right forum, then there's a chance that it will be answered properly. You might not get the full answer the first time, but as people contribute to the thread you get a better understanding and everybody benefits. If you have postings in multiple forums, there's less chance of that dialogue building up and everybody loses.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I've been away from .NET for a couple of years now, only using it now and then for small projects. Has anything been added for playing and manipulating audio? What I'm looking for is something that could be used as the basis for writing synthesizers and effects. I've done this with C#/.NET using Managed DirectX, but I don't think that MDX is supported any more. I later switched over to using P/Invoke and the Win32 Wave API.
I've looked at the System.Media namespace, but there's not enough there to do much more than simple wave file playback.
Is there anything in WPF? A cursory look at System.Windows.Media didn't turn up anything interesting beyond the MediaPlayer class.
Are we still in a position of having to roll our own audio libraries using P/Invoke?
|
|
|
|
|
Depending on what you want to do, and what kind of performance you need, there are a few options.
The easiest is using one of the managed wrappers for DirectShow or DirectX audio (DirectShow is no longer part of DirectX, and DirectX audio really now means XAudio2, which is replacing DirectSound).
The more complicated, but more efficient for performance, is to write your own manged <-> unmanaged interface layer, and use things like command batching and shared memory, since every call across the managed / unmanaged interface is a real performance killer.
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
You may want to look at the libraries that come with XNA studio. Better multimedia support can be found in the gaming world....
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
For my purpose there are some .NET classes that almost but not quite right and can't be fixed by subclassing and overloading.
I just downloaded the .NET Framework source from MS Shared Source web site
http://referencesource.microsoft.com/netframework.aspx[^]
Now I wonder could I take some classes code from the library and reuse and taylor the code in my library?
It's not like I intend to replace the .NET Framework, I just want to write a difficult to write control. And base its code on an existing one is much easier and a good use of reference material, wouldn't it?
I'm not sure...
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
how can I avoid the Microsoft XPS Document Writer from my installed printers
|
|
|
|
|
You can uninstall it on your local computer. You can't prevent (remote) users from printing to a specific printer AFAIK.
Are you trying to prevent users from "stealing content"? If the answer is yes, then pdf995 will pose a problem too.
I are troll
|
|
|
|
|
The best way to do it is to post the same question lots of times!
|
|
|
|
|
Can u tell me how to install iis
|
|
|
|
|
u use windows cd and go to control panal and select add and remove folder and choose add component an dselect iis.
|
|
|
|
|
it's not working
plz give it proper answer
|
|
|
|