|
hi
this is suresh
As best of my knowledge i am sugesting u that
u r asking that u want to give a page access to a particular person.So just go to authorization part there u can specify the user name as accept user.
suresh
|
|
|
|
|
I am new to asp.net programming.i want to use the sitemap path control in my web from could any one suggest some site for it.i idi my best,but i am little bit confused in this case.
thanks in Advance
|
|
|
|
|
Its very simple drag and drop the site map and edit its file i.e xml file by giving the title , path ..........
you can also search it on google
<l>Thanks and Regards
Sandeep
|
|
|
|
|
this is the error I am getting
LoginView1:Only one <configsections> element allowed per config file and if present must be the first child of the root <configuration> element
I am using the defaut web.config for AJAX site with Master pages and a SQL connection string. I have seen some brief post on AJAX/Master pages having problems, but nothing that seemed to fit my situation. any ideas?
Thanks
|
|
|
|
|
hi,
please can oneyone tell me why we use xhtmlConformance tag in web.config file and if we set the mode ="Legacy" in xhtmlConformance tag, what does it mean??
Thanks,
Rahi
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... "
|
|
|
|
|
|
Hi,
I have a asp.net javascript question. I have a datagrid (with 10 rows per page) which has two radio buttons (Accept and Reject) for each row. The users want to add a button (Select All) - which if clicked will toggle the "Accept" Radio button status (All selected or All unselected).
After some analysis, I have figured out that it cannot be done using c# code. All suggestions point to javascript. Specifically - Create a button(html), wire the onclick event to a javascript function. The function will search for (rdoAccept) and toggle the status based on a hidden field setting.
The only problem is I dont know javascript and so far my amateur tries have sucked. If anyone has a alternate idea or a code snippet it would help greatly.
P.s: I cannot use a header template for the select all as the users insist it should be a button.
So help please, I am new to .net, so I am stumped.
THanks Kal
|
|
|
|
|
hi all
I am developing application use WebService
I have fucntion GetImage() it will return a image on Database
i want this function return a image but this image dont must save on Server so it have to contain in Client.
How do i do ??
|
|
|
|
|
Why you want to store the image in the client side ........... ?
If you are stiring the image in the database in binary formate and wants to dislay that image in asp control then i can help you
Be more specific What you want ?
<l>Thanks and Regards
Sandeep
|
|
|
|
|
Hi all, architectural question here. I have a custom web framework I'm
developing that defines its own component hierarchy - all working
quite smoothly.
Now I'm adding data binding to it and have found I can integrate the
data binding from System.Windows.Forms (BindingSource etc) quite
easily and of course all the nice IDE integration & designers come
with it.
What I'm wondering is will there be any issues with referencing
System.Windows.Forms assemblies in an ASP.NET application? it all
works quite nicely on my dev machine but would there be issues with a
real IIS server hosted on a commercial ISP? e.g. missing assemblies or
security issues?
I would *really* like to avoid cloning even a subset of the existing
Winforms database infrastructure.
Thanks,
Lindsay
|
|
|
|
|
Smiles to all,
We are moving from Datagrid to gridview in one of the applications
and the gridview is linked to a datasource with Select Command as below ...
SELECT DriverNo, RegNo, DriverName,projectcode,Convert(datetime,startdate,103) as StartDate, Convert(Datetime,enddate,103) as EndDate, OdoReading, currentdriver FROM DriverDetails where regno=@regno
and Update Command as ...
UPDATE DriverDetails SET DriverName = @drivername, StartDate = @startdate, EndDate = @enddate, OdoReading = @odoreading, projectcode = @projectcode, currentdriver = @currentdriver WHERE (DriverNo = @driverno)
My dates (startdate & enddate) are in the dd/mm/yyyy format(I'm in Australia) and I already have more than 500 records created with date stored in above format.
The gridview populates fine but when I try to update the values I get the following error:
Arithmetic overflow error converting expression to data type datetime.
The statement has been terminated.
I know it is the date format but don't how to fix it in the update command. if I type the date as
20/01/2006(dd/mm/yyyy) it fails but if I type the date as 01/20/2006(mm/dd/yyyy) it works. But the users want it as dd/mm/yyyy plus it is impossible to change date formats for previous records.
There is no code-behind. I am doing update on UpdateCommand of my datasource so please suggest how to modify the update command to convert dates.
Thanks.
Aartee.
...HE is watching Us All!
|
|
|
|
|
In ASP.NET 2.0, if I have an image loaded into a System.Drawing.Image object... how do I sharpen it?
I tried a convolution filter from Christian Graus on this web site, however it has an unsafe code block that will not run on IIS.
Any ideas? Thanks!
|
|
|
|
|
hi,
Check this link:
http://authors.aspalliance.com/chrisg/tools/view-sharpen.aspx.asp
Hope this will help u,
Thanks,
Rahi
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... "
|
|
|
|
|
Thanks! I converted it to C#... it works but it is a bit harsh.
|
|
|
|
|
Hi,
Try this. it is really works good to sharpen image...
• For every pixel ( i , j ) on the output bitmap
o Set the pixel
#define sharp_w 3
#define sharp_h 3
sumr=0;
sumg=0;
sumb=0;
int sharpen_filter[sharp_w][sharp_h]={{0,-1,0},{-1,5,-1},{0,-1,0}};
int sharp_sum=1;
for(i=1;i<temp->w-1;i++){
for(j=1;j<temp->h-1;j++){
for(k=0;k<sharp_w;k++){
for(l="0;l<sharp_h;l++){
"
="" color="getpixel(temp,i-((sharp_w-1)">>1)+k,j-
((sharp_h-1)>>1)+l);
r=getr32(color);
g=getg32(color);
b=getb32(color);
sumr+=r*sharpen_filter[k][l];
sumg+=g*sharpen_filter[k][l];
sumb+=b*sharpen_filter[k][l];
}
}
sumr/=sharp_sum;
sumb/=sharp_sum;
sumg/=sharp_sum;
putpixel(temp1,i,j,makecol(sumr,sumg,sumb));
}
}
thanks,
Rahi
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... "
|
|
|
|
|
I have been reading George Mamaladzes artickle about Maintain focus between postbacks in ASP.NET 2.0 also in ASP.NET AJAX
The sample is in C# but I am a VB
This is the script containd in a string he is insering and change
Private Const SCRIPT_DOFOCUS As String = "window.setTimeout('DoFocus()', 1); function DoFocus() { try { document.getElementById('REQUEST_LASTFOCUS').focus(); } catch (ex) {} }"
replaces REQUEST_LASTFOCUS in SCRIPT_DOFOCUS with the posted value from Request["__LASTFOCUS"] and registers the script to start after Update panel was rendered
This is the working C# code
ScriptManager.RegisterStartupScript(this,typeof(_Default), "ScriptDoFocus", SCRIPT_DOFOCUS.Replace("REQUEST_LASTFOCUS", Request["__LASTFOCUS"]),true);
This is my VB code that fils
ScriptManager.RegisterStartupScript(Me, Me.GetType(), "ScriptDoFocus",
SCRIPT_DOFOCUS.Replace('REQUEST_LASTFOCUS', Request['__LASTFOCUS']), True)
Any idea:->
Ulf Andersson
|
|
|
|
|
Hi all..
How can I add a dynamic flash menu that reads its contents from SQL Server database...
Have a nice day...
Nour Abdel-Salam...
A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
|
|
|
|
|
How to disable dates in Calendar1 control which are less then current date
|
|
|
|
|
I add hyperlink in gridview and i pass the navigationURL for this hyperlink
but i want to send the rowindex of the gridview in session when i click this hyperlink
HOW CAN I DO THIS?
thanks for help
MD_NADA
|
|
|
|
|
Hi MD_Nada,
Can you post your navigationURL that you are passing in the hyperlink?
In the meantime:
You can send your rowindex id in the URL string itself. For eg: you want to access myhyperlinkpage.aspx your URL string will be - http://xyz/myhyperlinkpage.aspx?id={0} , this will pass the id or the rowindex of that row.
Also, do not forget to add your id or primary key of your table in the 'DataKeyNames' property of your gridview.
If this explanation is not too clear, kindly post your URL.
Aartee.
...HE is watching Us All!
|
|
|
|
|
thanks for ur help
MD_NADA
|
|
|
|
|
hi all,
What does it mean that view state is 32 bit encoded ??
whay specifically 32 bit is used any way ??
and can i see any meaningfull information from view state ??
Thanks for your help
Davids Maguire
|
|
|
|
|
View state is base 64 encoded. It means that the bits of raw viewstate are taken 6 at a time (you need 6 bits to represent 64 numbers [0-63]) and encoded into a string of characters.
When we count we use base 10: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and then we add a column for 10 and so on.
That base does not align with with a power of 2 and so does not align with the bits in a numerical representation in a computer.
Two common bases to get around this are base 8 (octal) and base 16 (hexadecimal, or just hex). In Hex the count goes: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F and then we add a column for 10 (which is actually 16 in base 10) and so on.
Base 64 is just an extension of this with 64 symbols representing the numbers 0 to 63.
|
|
|
|
|
Colin Angus Mackay wrote: When we count we use base 10: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and then we add a column for 10 and so on.
That base does not align with with a power of 2 and so does not align with the bits in a numerical representation in a computer
what column do you mean ??
and what base ??
and why not align with the power of 2 ??
i need a way to understand this technical speaking .. any help please
colin , Thanks so much for your help any way
|
|
|
|
|
DavidsMaguire wrote: what column do you mean ??
In base 10 you have a units column, a tens column, a hundreds column, a thousands column, a tens-of-thousands column and so on.
DavidsMaguire wrote: and what base ??
What do you mean what base? - the part you quotes was base 10. The counting system we use
DavidsMaguire wrote: and why not align with the power of 2 ??
Because we have 10 fingers (probably) and that is how, historically, we have counted in our number system.
I get the feeling there is some context missing in your questions. Please clarify what you are asking.
|
|
|
|
|