asp.net - UpdatePanel Repeater ObjectDataSource getting Error -


I have developed an application in which I have used an UpdatePanel, Repeater, and ObjectDataSource.

The problem when I was using these three was made to me "Sys.WebForms.PageRequestManagerServerErrorException: An exception has been thrown to the goal of a greeting."

The problem has only happened in IE8 and has not gone in the locality. My local meaning is working in IE8, but when I host an application on IIS IE8 created a problem by removing all the browsers to fix all tasks.

The code mentioned below

  & asp: hiddenfield runat = "server" id = "hdnkey" value = "mainAlt" /> & Lt; Qfx: label runat = "server" id = "label 1" css class = "subhiding" text = "term_ share" & gt; & Lt; / qfx: label & gt; & Lt; Asp: Repeater id = "rptShareTypeList" runat = "server" & gt; & Lt; HeaderTemplate & gt; & Lt; / HeaderTemplate & gt; & Lt; ItemTemplate & gt; & Lt; div class = "shareItem" & gt; & Lt; span class = "shareItemButton" & gt; & Lt; / Span & gt; & Lt; span class = "shareItemLabel" & gt; & Lt;% # IRAppMgr.Translate (Convert ToString (Eval ("title"))% & gt; & Lt; Input style = "display: none" class = "shareTypeCheckbox" type = "checkbox" name = '& lt;% # Eval ("key")% & gt; Value = "& lt;% # Eval (" code ")%>" & lt;% # Eval ("Check 12")%> / & Gt; & Lt; Input class = "ShareColor" type = "hidden" value = "& lt;% # Eval (" color ")%>" / & Gt; & Lt; Input class = "ShareCurrency" type = "hidden" value = "& lt;% # Eval (" currency ")%>" / & Gt; & Lt; / Span & gt; & Lt; / Div & gt; & Lt; / ItemTemplate & gt; & Lt; FooterTemplate & gt; & Lt; / FooterTemplate & gt; & Lt; / ASP: Repeater & gt; & Lt; ASP: ObjectDatabase ID = "Sheriff Typidus" Runat = "Server" DataObactTapName = "Qfx Data Class. Confirm Options" selectionMedual = "Select Type" TypeName = "QFX.businessDataManager" & gt; & Lt; SelectParameters & gt; & Lt; Asp: ControlParameter ControlID = "ClientMarker" name = "appConfig" property name = "config" type = "object" /> & Lt; asp: ControlParameter ControlID = "clientmarker" name = "client" property name = "client" /> & Lt; Asp: parameter name = "selection" DefaultValue = "ShareType" /> & Lt; / SelectParameters & gt; & Lt; / ASP: ObjectDataSource & gt;   

The code mentioned in the SELECTBox.ascx control in my device

In my Qfx.Bases.data.DataManager class < Pre> public list & lt; Options & gt; SelectShareType (Object ap config, string client, string selection, string share) {AppConfig config = (AppConfig) appConfig; & Lt; Options & gt; Option = null; If (config.getSelectionByKey (ShareKey + Selection)! = Faucet) option = config.getSelectionByKey (ShareKey + Selection). the option; If (option! = Null & option; account & gt; 0) {foreach (option option in option) {if (option.Currency == blank and IRAppManager.Manager! = Null) {DataClasses.Share tool inst = IRAppManager .Manager.GetInstrument (option.Key); Option.Currency = (inst! = Null)? IRAppManager.Manager.Translate (inst.Currency): ""; } If (option.VolumeDivisor == null || option.VolumeDivisor.Trim () == string.Empty) option. VolumeDivisor = option.VolumeValue; Option.code = (config.GetDataSourceByKey (option.Key)! = Null)? Config.GetDataSourceByKey (option.Key). Codes: ""; If (option.Code! = String.Empty) {option.TimeStamp = GetTimeStampDetail (option.Code); }}} Return (config.getSelectionByKey (ShareKey + Selection)! = Null)? Config.getSelectionByKey (ShareKey + selection) Options: New list & lt; Options & gt; (); }

and I used it in UpdatePanel

  & asp: UpdatePanel ID = "upTab" runat = "server" & gt; & Lt; ContentTemplate & gt; & Lt; Uc: Tool selection-box = "server" id = "UTCInstrument selection-box" & gt; & Lt; / uc: Tool SelectionBoxenant & gt; & Lt; / ContentTemplate & gt; & Lt; / ASP: UpdatePanel & gt;   

After some debugging in the browser console, I thought that due to the errors caused by the ObjectDataSource, I removed the ObjectDataSource and binded the normal repeater with the ID, it is OK in IE8 doing work.

Anybody can help me. I have an restriction in IE8 or error in my code using the ObjectData source. Your respiration should be highly epitized Thanks



Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -