|
Hi,
I want to develop a user control for search users by using Ajax in asp.net and C#.net (VS 2.0).
There will be text box, on change of values of text box, users list will be display in grid view. Also wants to implement on mouse over user’s details will be displayed in pop up(as like Gmail search contact).
How can I do this? Can anyone help me for this?
Thanks a lot.
|
|
|
|
|
This pretty easy. It all depends on the following:
How much data are you searching?
What behavior do you want? (search every char stroke, spellchecking, etc.)
You might find this white paper helpful because it details a number of these types of interfaces:
exorbyte white paper[^]
Whether you use c#.net, AJAX or something else, you will need to consider more details. Let me know if you need more help.
Dan - rastaquere AATT gmail DDOOTTT com
|
|
|
|
|
|
bind to one grid..put it this grid in one panel...
and try to use ajax popup control
PopupControlID="that panel"
Eg:
<ajaxtoolkit:popupcontrolextender id="PopEx" runat="server" xmlns:ajaxtoolkit="#unknown">
TargetControlID="DateTextBox"
PopupControlID="Panel1"
Position="Bottom" />
|
|
|
|
|
sahoo.fm wrote: how can i show data(retrived from database) in a popup control
By writing some code
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Yusuf.A wrote: sahoo.fm wrote:
how can i show data(retrived from database) in a popup control
By writing some code
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
My .Net 2008 Web Page project is associated with VSS. When i open the .sln it prompts for VSS User name and password.
1. How can i remove this associated?
2. I want to remove all the files created by VSS, i have removed *.scc, *.vsscc
Which are the file extentions created by VSS?
Thanks in Advance
|
|
|
|
|
Hi,
Deleting all the VSS files removes the bindings.
Alternatively you can login to VSS and then change the bindings, it will then remove the bindings.
Regards
Vijay V.
Yash Softech
|
|
|
|
|
And after removing those file, don't forget to remove the Binding from VS also.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
How can i remove binding from VSS. Can you please provide details?
Thanks
|
|
|
|
|
nilam2477 wrote: How can i remove binding from VSS. Can you please provide details?
Yes!
Open The Solution in Visual Studio > File > Source Control > Change Source Control
Then Click 'Unbind '
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Hi
i am using crystal report 10 in my asp.net2005 application.
my crystal report file contains multiple sub reports, all are designed using <i>command</i> .
my problems is, when generating the report from my asp.net web application ,i am getting one error message saying 'missing parameter values'
the report will work fine if there is no sub report.
also this will work if the database name is same as the one which used at the time of report design.Its troubling me only when the dtabase name is different.
i searched in different forum but i didnt get a solution for my problem.
Even one earlier message related the same issue in code project also not working in my case
Please anybody can give me some hint.
my code is as below
Dim repdoc As New ReportDocument
Dim coninfo As New ConnectionInfo
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
repdoc.Load(Server.MapPath("Reports\CrPatSummRpt.rpt"))
'Connection details:database name,username, password
coninfo.ServerName = "Server"
coninfo.DatabaseName = "TDB"
coninfo.UserID = "sa"
coninfo.Password = "sa"
fnSetLogonInfoSubreport(coninfo, repdoc)
fnSetLogonInfo(coninfo, repdoc)
'Setting parameter which are passring fronm code behind to crystal report
fnSetReportParameters()
'Binding report
'assigning report document to report viwer control
crPatSummRpt.ReportSource = repdoc
Catch ex As Exception
End Try
End Sub
Private Sub fnSetLogonInfo(ByVal subConinfo As ConnectionInfo, ByRef m_reportDoc As ReportDocument)
Try
Dim tblLogonInfos As New TableLogOnInfos
Dim tabs As Tables = repdoc.Database.Tables
For Each tab As Table In tabs
Dim logininfo As TableLogOnInfo = tab.LogOnInfo
logininfo.ConnectionInfo = coninfo
Next
Catch ex As Exception
End Try
End Sub
Private Sub fnSetLogonInfoSubreport(ByVal subConinfo As ConnectionInfo, ByVal _reportDoc As ReportDocument)
Dim sects As Sections = m_reportDoc.ReportDefinition.Sections
For Each sect As Section In sects
Dim repObjects As ReportObjects = sect.ReportObjects
For Each repObject As ReportObject In repObjects
If repObject.Kind = ReportObjectKind.SubreportObject Then
Dim subRepObj As SubreportObject = repObject
Dim subRep As ReportDocument = subRepObj.OpenSubreport(subRepObj.SubreportName)
fnSetLogonInfo(subConinfo, subRep)
subRep.VerifyDatabase()
End If
Next
Next
End Sub
Private Sub fnSetReportParameters()
' all the parameter fields will be added to this collection
Dim paramFields As ParameterFields = New ParameterFields()
' the parameter fields to be sent to the report
Dim pfpatId As ParameterField = New ParameterField()
Dim pfidSumm As ParameterField = New ParameterField()
Dim pfOffID As ParameterField = New ParameterField()
Dim dcPatId As ParameterDiscreteValue = New ParameterDiscreteValue()
Dim dcIDSumm As ParameterDiscreteValue = New ParameterDiscreteValue()
Dim dcOffID As ParameterDiscreteValue = New ParameterDiscreteValue()
pfpatId.ParameterFieldName = "PatId"
pfidSumm.ParameterFieldName = "IdSumm"
pfOffID.ParameterFieldName = "officeId"
dcPatId.Value = 155
dcIDSumm.Value = 897
dcOffID.Value = 1
pfpatId.CurrentValues.Add(dcPatId)
pfidSumm.CurrentValues.Add(dcIDSumm)
pfOffID.CurrentValues.Add(dcOffID)
paramFields.Add(pfpatId)
paramFields.Add(pfidSumm)
paramFields.Add(pfOffID)
crPatSummRpt.ParameterFieldInfo = paramFields
end sub
Thanks in advance
|
|
|
|
|
I'm storing some images in Oracle database as a Blob data type.Now i want to display the images in .aspx page.How can i do this.
|
|
|
|
|
I have datalist which contains product id,product image and quantity in dropdown box and a add to cart link button...when i click the button o need to pass the product id and quantity selected in the dropdownlist to function in the code behind file..
pls help me by givibg some valuable suggentions to overcome this task
ravi kumar reddy
|
|
|
|
|
Hi,
i used a treeview for Group creation form of accounting work
This treeview structure as showns below,in this form i created
primary groups are Asset,Liablity,Expences,income .....
also i created under the secondary group Fixed asset under the
Primary asset,but one problem is that,double click the secondary
then show creating the duplicate data again and again...........
how can we avoid this,please help me.....(double click is the problem)
i used one click in fixed asset it shows the corrosponding data on
textboxes it works properly....please help me
-- treeview---
Groups
--
+ Assets (primary)
? fixed asset (secondary)
? fixed asset
? fixed asset
+ Liabilities (primary)
+ Expenses (primary)
+ Incomes (primary)
+ Bank (primary)
+ Purchase (primary)
+ Sundry Debtors (primary)
+ Sundry Creditors (primary)
|
|
|
|
|
On a web site I published (pre-compiled) last night, I get the following error. Before pre-compiling it, I was getting a compiler error that a User Control was not found. After compiling on another machine, and running, I get the following Parser error:
"Cannot create an object of type 'System.Type' from its string representation 'System.Int32' for the 'DataType' property" was the, now runtime, parser error I got. The offending tag is
"telerik:RadNumericTextBox .... DataType="System.Int32".... "
I emphasise that this error only occurs on XP SP2, not on Vista and Win7. I'm off to do some Googling and issue logging at Telerik.
|
|
|
|
|
Hi All,
I using tinymce editor it is fine, but i want to do the same think like in joomla that, when i will found a tring for example i want to put link read more and cut text after that link clear complete text from database like Substring.Lenght(0,0);
any idea how to do it
greg
|
|
|
|
|
Hello there,
I've been searching around the web for a particular issue but i can't fing the exact answer i'm looking for. I want to achieve this kind of style for my controls http://xs538.xs.to/xs538/09153/sc2a813.jpg[^]
If it was a desctop application i would make a base usercontrol, define all the common properties and rendering and then inherit the base control for each of the needed controls.
HOWEVER this trick doesnt word for web? When i define a base UserControl and i add some controls to it, save it , build it and then try to inherit from it, the result control does not HAVE any of the parent's defined controls.
Markup cannot be inherited ?
What is the most correct way to achieve this kind of control style ?
|
|
|
|
|
In my form, there is a javascript error relating to some css code. But the code behind the aspx looks fine, cannot findout any error. The funny thing is the page works correctly in Firefox but showing javascript error in IE 7.0.
When I try to execute the page in IE, a file named as WebResource_4.axd file opens and there are error lines (green lines) in many of the places, not sure which line is erroneous. The tooltip says that 'Expected Expression'. I am not getting any head and tail of this file. Can anybody please help to resolve this?
Thanks
Meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
because if you see mozila firefox-> tools->option
it provides the option to disable enable java and active x on browser and once you checked it its always enable for browser.
while in intenet explorer the javascript and java support is on ask mode so it gives error.
|
|
|
|
|
hi experts.
i have a several special characters in my column
like example
goes here
empno emp name
1 ve?u.r
2 raj
3 venki
4 Stáció
5 gái
6 Vecsés
7 Mosonmagyaróvár
8 sachin
i want to list out the names with only special charactersand shuld get the values in my page
regards
venu
|
|
|
|
|
Hi,
I have a COM Dll, when referenced in Window App, works fine. But behaves strangely in ASP.NET.
Can you suggest me the reason for the same.
Thanks
|
|
|
|
|
Is it possible to store more than one value in HttpCookie ...
|
|
|
|
|
HttpCookie MyCookie = new HttpCookie("Cookie1");
MyCookie.Values["Val1"] = "1";
MyCookie.Values["Val2"] = "2";
MyCookie.Values["Val3"] = "3";
Response.Cookies.Add(MyCookie);
|
|
|
|
|
Hi,
In gridview with paging if the number records will high, then the page numbers displayed in the bottom also increased. So the grid width increases.
Is there is any way to display the numbers using Dots so that only the first 10 pages will be displayed after that it increased depends upon the total pages.
|
|
|
|